r/FastAPI • u/Old_Explorer5134 • Apr 24 '22
Question Full stack app with FastAPI vs Django
Hello Community... It’s nice to be here 😄
So I have a question. Would it be production stable to develop a full stack application with FastAPI, just like Django?
fastapi #django
3
u/ShotgunPayDay Apr 25 '22
Well, you're on a FastAPI subreddit so of course I'm going to say building full apps is doable in FastAPI. The negative aspect is that you can't use Pydantic Models for your views as Pydantic returns JSON instead of the input Dictionary with an error list, but all your CRUD services are reusable for both the API and Webapp side. There is a talkpython course (paid) if you want to see someone build all the nuts and bolts for a full webapp. You can thumb through the github code if you're interested in how it's done for the course also. https://training.talkpython.fm/courses/details/full-html-web-applications-with-fastapi
4
u/eddyizm Apr 25 '22
I would say yes but if likely more work.