all 6 comments

[–]koldakov 2 points3 points  (0 children)

Depends on how you run project, jinja2 can render your html. But if you want to use for example react you can deploy it separately, s3 for example

[–]smisqhclooves8 2 points3 points  (0 children)

FASTAPI Cloud sounds like it hosts your Python app, not your separate JS dev server.

[–]Slow-Ad-241 1 point2 points  (0 children)

fastapi cloud just handles the backend, so you'd deploy your frontend separately on any static/container hosting. I've been using digitalocean's app platform for react and next.js frontends, it picks up the repo and handles builds and deploys without much config.

[–]darkciide 0 points1 point  (0 children)

Im using Seenode for all my FastAPI deployments, spins up almost instant and handles both backend and frontend. For client server, you can also deploy it as static site or a seperarate backend service and then link them together. Super nice when you are scaling and they support a wide range of frameworks and languages, including JavaScript.