Developing full stack applciations using Django
Published on 7/12/2025
Django is suitable for server rendered applications. It can also support client side rendering/mobile via API interfaces. DRF is very popular for RESTful APIs.
The main points to consider are as follows:
- Use class based generic views whenever possible
- For scaffolding, use django-cookiecutter
- The trend is to Dockerize application - need containers for application server, DB, celery, redis, trefik
- DB can be cloud providers managed Postgres.
- AWS ECS with Fargate launch type is popular. But not done it myself.
- Need other dependencies like Sentry, Mail etc.
- Need for async support to be considered
If API is considered, the OpenAPI schema & UI logic should be consistent.
The separation of Server side code & UI design is via templates. It is not usually a single file, instead a hierarchical set of layouts.
Adding frontend library like React is not feasible. Primarily it won’t be a single page application. But it is very popular & mature web framework. May not be suitable for NoSQL data bases.