Your own backend
A course about the server side: what happens after the frontend sends a request. We build a real shop API on FastAPI — catalogue, users, cart, orders — and at the end we connect the React shop from «React in practice» to it instead of a toy json-server.
What you will be able to do
10 modules, one project
01 What a backend is3 lessons · 2 h 12 minOpen
We start with the whole picture: who sends what to whom, what a request consists of and why an API is a contract.
02 Your first API on FastAPI3 lessons · 2 h 20 min
We start the server, write the first routes and get documentation we did not have to write by hand.
03 Data schemas and validation3 lessons · 2 h 16 min
The contract in code: what we accept, what we return and what happens to rubbish on the way in.
04 The database3 lessons · 2 h 30 min
The data stops living in a list in memory: tables, relations, queries and migrations without editing the schema by hand.
05 Catalogue CRUD3 lessons · 2 h 28 min
The full set of operations on products, plus the things a catalogue cannot live without: search, filters and pages.
06 Users and signing in3 lessons · 2 h 32 min
Registration and sign-in done properly: passwords are not stored, tokens are verified, other people's data is not handed out.
07 Cart and orders3 lessons · 2 h 26 min
The logic you cannot trust the client with: price, availability, order statuses and an honest payment stub.
08 Files and product images3 lessons · 2 h 08 min
Uploading, storing and serving files — with the checks that keep the wrong things off your server.
09 Errors, logs and API tests3 lessons · 2 h 16 min
We make a service that breaks legibly: one error format, logs that earn their place and tests for the key scenarios.
10 Deployment and connecting the frontend4 lessons · 2 h 52 min
The final module: server, domain, HTTPS — and the React shop that starts running on your API.
What you get
Videos with timecodes and a written version: the code and commands from a lesson copy across whole, together with the terminal output.
A ready set of requests to every endpoint in the course: you can check your server without assembling each request by hand.
Tables, relations and fields with notes on why the entities are split exactly this way — together with ready migrations.
The same shop you built in FE—02, with a switch between json-server and your API — so connecting it takes no rewriting.
The whole first module is open
Watch the lessons of the first module and the first task. If the format does not suit you, you have lost nothing.
