pythonofftopic | Unsorted

Telegram-канал pythonofftopic - Offtopic

12466

Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)

Subscribe to a channel

Offtopic

else here i am planning a full webpage and i need database and webhook and so on i think to have a fastapi backend there running doing all my business logic, so you say as as normally i write codee in html css and js and then build my webpage structer and static contect and then make the /docs/index.html and so on served by github page, i will make this part as frontend part will shows by my flask and my the js in this will connect to the fastapi will it right choice now?

Читать полностью…

Offtopic

this looks realistic now, so as i read github page says not to use its page service for selling purpose so what will my alternative, as i dont know React or other fronted part till now, so i thought i will make my fastapi will also send the html, css like flask's render_template do, will it really bad to do in reality?

Читать полностью…

Offtopic

so in relaity what i will use to shows the my home, about, page to the user in the browser when they will open example.com or example.com/about or example.com/profile, there how in reality my server will send him the page to shows, i need 2 repo for this things?

Читать полностью…

Offtopic

You Once say in a previous conversation that i will mainly use fastapi for doing work with json not as a normal html, css, js like flask.

So now i want to start making a shopping app with fully with webhook and proper app, there how i will serve the frontend part html css to my user, will i use github page to shows the page structer and in background it will call my fastapi endpoint and dynamically change the interface with the product name, detials and so on will i use like this ???

Читать полностью…

Offtopic

/channel/pythonofftopic/1292094
Now he's trying to sell me an exploit lmaoooooooooo

Читать полностью…

Offtopic

https://fxtwitter.com/broyojo42/status/2119846058108874783

Читать полностью…

Offtopic

And then have them sent to your main account or something

Читать полностью…

Offtopic

So what i understand i need to rely on atleast GitHub Actions for test that my webhook endpoint is working, so i think can i make my own webhook system / this is not necessary?
Like what i listen maybe for things like payment (Razorpay) i will use webhook but for testing if the webhook is working or not i think to make another fastapi app which will send the webhook request to my webapp and i will be sure my webhook is working fine.
What is this logic of this, or i cannot make my own webhook provider like this, in reality i will only get the webhook not send right?

Читать полностью…

Offtopic

After i have learnt about Webhook i am now trying to implement this with my webapp, but for now of testing i listened GitHub events are there for this webhook learning.
But the fact is my web app(fastapi) server will open a endpoint with a post request and it will handle the webhook.
So what about my another system will send me webhook on my endpoint, what is the logic, so that i can make my own webhook system for testing and later really impliment this?

Читать полностью…

Offtopic

But... but is it safe tho

Читать полностью…

Offtopic

depends on server. right?

Читать полностью…

Offtopic

I have my email setup so I receive any email sent to my domain

Читать полностью…

Offtopic

Couldn't connect to LLM service because I'm using VPN

Читать полностью…

Offtopic

Cheating the user does exist?

Читать полностью…

Offtopic

so server does not hold the email?

Читать полностью…

Offtopic

Then use Flask, why are you using FastAPI as Flask?

Or if you plan go go big on this, go with Django 🤷‍♂

And ofcourse you cannot SELL stuff on Github own infrastructure, buy your own

Читать полностью…

Offtopic

Or 1 repo with 2 directories
Frontend and backend 🤷‍♂

Why complicate things...

Most of developers use React for frontend, but there are ofcourse other technologies
But most (if not all) are JavaScript based, as that is the language web browsers speak

Читать полностью…

Offtopic

Your backend (FastAPI in this case) talks only JSON
Your frontend is what takes that JSON and produces something user sees

Those are diffrent things and usually done in diffrent technology stack, especially if you plan on hosting it up on Github pages

Читать полностью…

Offtopic

Why not just block him

Читать полностью…

Offtopic

@notfromcambrigde

Читать полностью…

Offtopic

for example: https://www.zoho.com/mail/help/adminconsole/catch-all-setup.html?zredirect=f&zsrc=langdropdown&lb=de

Читать полностью…

Offtopic

It's up to the mail server to decide what to do with the email
So for a domain you control you can tell your Mailserver to keep all of them

Читать полностью…

Offtopic

Is there a question here?

Yes, Github has Github events which are webhooks that fire of when some event happens on your repository - a new commit, pull request, issue or whatever else you set up.

It sends that webhook event to whatever you configured for webhooks - and yes it is just a POST request with some data...

Your application just listens for those webhooks and does something with that data

That is it, it really is as simple as a POST request from one system to another

Читать полностью…

Offtopic

I was trying to capture his thinking

Читать полностью…

Offtopic

You already asked and got answer

Читать полностью…

Offtopic

you could send an email to 7f97a9fa-fd23-4267-b26f-0783f1c8c772@... and I'd receive it

Читать полностью…

Offtopic

Fallback to search engine

Читать полностью…

Offtopic

depending on whether the user exists or not it may or it may not hold it depends on mail server also

Читать полностью…

Offtopic

I think it can hold the email

Читать полностью…

Offtopic

But the user doesn't exist

Читать полностью…
Subscribe to a channel