FastAPI and Django Combo
Project Details
- Position:Backend Engineer
- Duration: Days.
- Difficulty:High
Objective
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.
Role Played
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
Challenge
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.