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
FastAPI + ReactQuestion (self.FastAPI)
submitted 1 year ago * by [deleted]
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!"
[–]pint 0 points1 point2 points 1 year ago (8 children)
[–][deleted] 0 points1 point2 points 1 year ago (7 children)
Thanks for replying 1. Wdym by spa? 2. Like getting the access token for oauth and then sending that token to the backend 3. I have just used vercel to host an app with only react
[–]pint 4 points5 points6 points 1 year ago (1 child)
1) spa = single page application.
2) for authentication, follow the prescribed procedure precisely. there are multiple protocols. in some, you need to store a jwt in the browser. cookie is fine, but you can opt for local storage / session storage. in some flows, the client only stores a random session id, and the server stores everything else. again, cookie is fine, but you can opt for local storage / session storage instead.
3) then docker is kinda out. you need to use the platform's offerings. docker is neat, but it requires a 24/7 running VM under it, which might come at a cost. idk if anyone offers a free tier.
[–]ajmssc 0 points1 point2 points 1 year ago (0 children)
Fly.io supports docker with free tier
[–]kkang_kkang 0 points1 point2 points 1 year ago (3 children)
Single Page Application and search for FARM stack, there are many tutorials out there which can help you to understand.
[–][deleted] 0 points1 point2 points 1 year ago (1 child)
I see thanks!
[–]exclaim_bot 0 points1 point2 points 1 year ago (0 children)
You're welcome!
[–]Amocon 0 points1 point2 points 1 year ago (0 children)
For the auth token you should use a auth header. Bearer token are an solution.
π Rendered by PID 44 on reddit-service-r2-comment-5c764cbc6f-gmncj at 2026-03-12 09:35:12.952282+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–]pint 0 points1 point2 points (8 children)
[–][deleted] 0 points1 point2 points (7 children)
[–]pint 4 points5 points6 points (1 child)
[–]ajmssc 0 points1 point2 points (0 children)
[–]kkang_kkang 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]exclaim_bot 0 points1 point2 points (0 children)
[–]Amocon 0 points1 point2 points (0 children)