Hands-on builds

Projects

Projects

About These Projects

The best way to make the modules stick is to build something. These five projects take you from a text adventure game and an object-oriented snake game through a Flask web app with a database, testing with pytest, and finally a full FastAPI API with SQLAlchemy and CI/CD.

Each one is a code-along video, so you can pause, type it out yourself and adapt it to your own ideas. Pick the project that matches the module you've just finished and come back for the rest.

Projects

5 builds
01

Build a Text Adventure Game

Write your first Python project: a text-based adventure using print, input, conditionals and nested if/else logic, a good drill for the fundamentals.

02

Code a Snake Game with OOP & Pygame

Build a complete snake game with Pygame, converting the code into classes and adding movement, scoring, game-over logic and sound.

03

Build a Database-Driven Web App with Flask

Create a dynamic web application with Flask and a database, with routes, templates, forms and data stored and shown from SQL.

04

Test Your Code with Pytest

Write tests with pytest: your first tests, class-based tests, fixtures, marks and parametrize, and mocking external dependencies.

05

Build a Full API with FastAPI, SQLAlchemy & CI/CD

Build a complete API with FastAPI and PostgreSQL, work with an ORM, add authentication, then test it and deploy it with a CI/CD pipeline.