IntermediatePremium · 2,000 credits
Build a Production REST API: From Zero to Deployed with FastAPI
Build a complete, production-ready REST API from scratch. You'll create TaskFlow — a task management API with JWT authentication and role-based access control, an async PostgreSQL layer with reviewable migrations, Redis caching, a real test suite, and a containerised deployment with CI. Built on FastAPI, SQLAlchemy 2.0 and Pydantic v2. This is a hands-on project course — every module is a phase of building your API.
200 min5 lessons5 modulesCareer
What you'll learn
- Build a complete async REST API with FastAPI, SQLAlchemy 2.0 and PostgreSQL
- Implement JWT authentication with role-based access control, and explain what JWT cannot revoke
- Design production database schemas and write migrations you can safely roll back
- Write an async test suite with pytest that actually runs, and diagnose it when it does not
- Containerise and deploy the API with Compose and CI, with the database unreachable from outside
What's included
- Video Lessons
- —
- Interactive Exercises
- Included
- Charts & Infographics
- —
- Quizzes
- 5
- Certificate
- Included
Course Content
Phase 1: Project Setup & Architecture
1 lesson · 3 min- The Stack: Why FastAPI + PostgreSQL + DockerNo signup3 min
- Quiz: Module 1 Quiz: Project Setup & Architecture
- Lab: Initialize the TaskFlow Project99 free attempts30 min
Phase 2: Database Models & Migrations
1 lesson · 3 min- Locked until you enrollProduction Database Design with SQLAlchemy 2.03 min
- Quiz: Module 2: Database Models & Migrations Quiz
- Lab: Build TaskFlow Database Models & Migrations99 free attempts35 min
Phase 3: API Endpoints & Authentication
1 lesson · 3 min- Locked until you enrollRESTful Design & JWT Authentication3 min
- Quiz: Module 3 Quiz: API Endpoints & Authentication
- Lab: Build API Endpoints & Authentication99 free attempts45 min
Phase 4: Testing & Production Hardening
1 lesson · 3 min- Locked until you enrollTesting & Production Hardening3 min
- Quiz: Module 4 Quiz: Testing & Production Hardening
- Lab: Test & Harden TaskFlow for Production99 free attempts40 min
Phase 5: Deploy & Ship
1 lesson · 3 min- Locked until you enrollProduction Deployment3 min
- Quiz: Module 5: Deploy & Ship Quiz
- Lab: Dockerize & Deploy TaskFlow99 free attempts35 min