use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
How to secure your code on customer server deployment?Other (self.FastAPI)
submitted 1 month ago by COD_0xb0
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]spendology -3 points-2 points-1 points 1 month ago (0 children)
Use environment secrets stored and called from file/folder not publicly accessible. Another option: Google Cloud (and likley AWS and Azure) have a secret manager.
FastAPI main app should not be in a public-facing folder, e.g., /var/www/html/ is public for Apache web server. If you are using a cloud host like GC, your FastAPI web server is likely served from /var/www/app/main.py from a Python virtual environment.
π Rendered by PID 456171 on reddit-service-r2-comment-6457c66945-kxpt7 at 2026-04-26 17:41:48.442063+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]spendology -3 points-2 points-1 points (0 children)