Backend

Services, data access and APIs that last.

How a backend service is built and run: what happens to a request from the network to the database and back, HTTP from the server's side, handling many requests at once, structuring a service, middleware, validation and errors, configuration and secrets, database access, schema migrations, transactions, caching, authentication and authorization, background jobs, webhooks and events, real-time connections, file uploads, rate limiting, timeouts and retries, logs and health checks, and packaging and deploying a service. Language-neutral: Node.js, Python, Java and Kotlin, Go, C# and .NET, Ruby and PHP side by side. By the end you can design, build and operate a service that stays correct, fast and safe under real traffic.

7
chapters
22
modules
~8h
of learning
22
live now
22 modules

Take modules in any order. The route suggests one that builds up naturally.

Take a look inside

The big picture, before the details

From one request to a production service: foundations, building a service, data, identity, work beyond request and response, and running in production. Watch the tour, or click any part.

basicsservicedataidentityasyncprodrequest → rules → data → responsecorrect, fast and safe under real traffic

Foundations: what a backend does, HTTP from the server's side, and handling many requests at once (modules 1–3).

A taste of module 10: two customers buy the last chai at the same instant. Pick a strategy and see whether it gets sold twice.

Asha SELECT stock FROM items WHERE id='chai' → 1
Ravi SELECT stock FROM items WHERE id='chai' → 1
Asha UPDATE items SET stock = 0; INSERT order #1
Ravi UPDATE items SET stock = 0; INSERT order #2

Two orders for one chai: oversold. Each request checked, then wrote, and they overlapped.

01

Foundations

What a backend does, and how it handles requests.

3 modules · 65 min

02

Building a service

Structure, pipeline, errors and configuration.

4 modules · 80 min

03

Data

Talking to databases safely and quickly.

4 modules · 90 min

04

Identity

Who you are and what you may do.

2 modules · 45 min

05

Beyond request and response

Jobs, events, real time and files.

4 modules · 85 min

06

Running in production

Staying up under real traffic.

4 modules · 85 min

07

Capstone

Put it all together.

1 module · 35 min