FastAPI and Django Combo
- Position:Backend Engineer
- Duration: Days.
This projects aims to combine FastAPI and Django to build a Production ready application capable of utilizing all of the features of both django and FastAPI. To demonstrate, I built a sample blog app, It can be adapted into any app.
I built a production-ready API backend using Django and FastAPI that leverages the best of both worlds.
Tools & Technologies
Django, Django Rest Framework (DRF), FastAPI, Pydantic with custom validation, Django all-auth, JWT Authentication, CORS, Uvicorn and Gunicorn for Python web server
Using FastAPI's async endpoints with Django's ORM. Setting up static and media files with AWS S3 was a serious pain considering the configuration needed to make it compatible with both frameworks.