6

Phase 6 · 3–4 months

Backend

The backend is the hidden brain: it does the thinking and remembers the data. We stay in Python, so you build on what you already know.

What to learn

  • What a backend does: it gets a request, thinks, talks to the database, and sends an answer back.
  • REST API (= a simple, standard way for programs to ask each other for things) using the actions GET, POST, PUT, DELETE.
  • CRUD (= the four basic things you do to data: Create, Read, Update, Delete).
  • Login, using a token / JWT (= a secure digital pass that proves who is logged in).
  • Pick one tool: FastAPI (= modern, fast, and great for AI — recommended) or Django (= bigger, comes with lots built in).

Practice on your own

  • A tiny API that answers "hello".
  • Add Create / Read / Update / Delete for a list of items.
  • Add a simple login with a token.
  • Open your API’s automatic test page (called Swagger) and try it.

Build this

Turn your Phase 1 To-Do app into a real online API with full CRUD and a login. Same app — now living on a server!
Move on when: You can build an API that stores items and handles a basic login.