← All roadmaps
Web · High demand
Python Backend (Flask/Django) roadmap
Flask and Django run the backends of startups, SaaS products, and data platforms. Python backend skills pair perfectly with data and AI work, making you versatile for product and service companies alike.
beginner
Flask Fundamentals & HTTP Basics
About 4 weeks
Topics
- HTTP methods, status codes, request/response cycle
- Flask setup: routes and templates with Jinja2
- Forms, redirects, sessions, and cookies
- Blueprints and application structure
- SQLite with Flask-SQLAlchemy basics
- REST principles and JSON APIs in Flask
- Virtual environments and pip requirements
- Running and debugging Flask in development
Free resources
Flask Quickstart Docs
docs
Pallets · Official quickstart and tutorial.
Flask Tutorial Series
video
Corey Schafer · The classic Flask series, still the best walkthrough.
Backend Developer Roadmap
docs
roadmap.sh · Where Flask and Django fit in backend skills.
Flask Tutorial - JavaTPoint
course
JavaTPoint · Simple examples popular with Indian learners.
Django Intro Tutorial
docs
Django · Skim the polls tutorial to preview Django.
Hands-on practice
- Build a personal blog in Flask with Jinja templates
- Create a JSON REST API for a task manager
- Add user sessions and flash messages to an app
- Structure a Flask project with blueprints and a config module
Milestone checkpoint: You can build a working Flask app with templates, forms, and a SQLite database, and you can explain what happens between a browser request and your route function.
intermediate
Django, Auth & Database Design
About 6 weeks
Topics
- Django MTV: models, views, templates, ORM
- Django admin, migrations, and querysets
- Django REST Framework: serializers, viewsets, routers
- Authentication: sessions, tokens, permissions
- Flask-Login, password hashing, and CSRF
- Database design: relations, indexes, normalization
- Testing with pytest and the Django test client
- Sending email and background tasks with Celery basics
Free resources
Django Documentation
docs
Django · Excellent official docs - do the full tutorial.
Django Series
video
Corey Schafer · Build a full Django blog step by step.
Django Full Course
video
freeCodeCamp · Multi-hour Django course on YouTube.
The Flask Mega-Tutorial
course
Miguel Grinberg · 23-part series building a complete Flask app.
Django REST Framework Docs
docs
DRF · Official tutorial for building APIs with Django.
Hands-on practice
- Build a Django blog with auth, comments, and a customized admin
- Create a DRF API with token auth and throttling
- Design a normalized schema for an e-commerce backend
- Write pytest suites for a Flask API until green
Milestone checkpoint: You build Django apps with the ORM confidently, expose clean DRF APIs with auth and permissions, and your database schemas are normalized with sensible indexes.
advanced
Production Django/Flask & DevOps
About 8 weeks
Topics
- Class-based views vs function views at scale
- Caching: Django cache framework and Redis
- Async views, ASGI, and Channels basics
- Security: OWASP for Django/Flask, secrets management
- Gunicorn/uWSGI, Nginx, and static/media handling
- Docker, CI/CD, and deploying on Render or a VPS
- Monitoring: logging, Sentry, health endpoints
- Scaling reads: read replicas and query optimization
Free resources
Django Deployment Docs
docs
Django · Deployment checklist and security topics.
Flask Deployment Docs
docs
Pallets · Deploying Flask in production.
Backend Roadmap - Advanced
docs
roadmap.sh · Caching, queues, and infrastructure topics.
Deployment Videos
video
Corey Schafer · Django deployment and VPS walkthroughs.
Test-Driven Development with Django
book
Harry Percival · Free online book on TDD with Django.
Hands-on practice
- Deploy a Django app with Docker, Nginx, and HTTPS
- Add Redis caching and cut a slow page's load time measurably
- Set up Sentry and structured logging on a project
- Optimize 10 N+1 queries using select_related and prefetch_related
Milestone checkpoint: You deploy Django and Flask apps to production with Docker and CI, monitor them, fix performance regressions with query optimization, and can justify your caching strategy.
Track your progress
Sign in to mark stages complete and watch your roadmap fill up on your dashboard.
Sign in