A growing store needs a backend that accepts orders, charges cards and tells the warehouse what to ship. Duplicate charges and lost orders are not acceptable, and the checkout must stay fast during sales. You design the API and the data behind it.
A backend engineer builds the services, APIs and data layer behind a product. You make them correct, fast enough and safe to change. In AI products that includes the endpoints, queues and storage around model calls.
Goal: Learn programming, HTTP and databases well enough to build a small API with a database and a model call, and deploy it.
Before you start
Beginner · 8 weeks
Week 1: What a backend does
Client and server · Requests and responses · Status codes · JSON · Vocabulary: route, endpoint, middleware
Practice: Use curl to call a public API and explain each part of the request and response.
Also: Vocabulary: route, endpoint, middleware
Practice: Use curl to call a public API and explain each part of the request and response.
Common pitfalls
Think first, then reveal
What do HTTP status codes 200, 400, 401, 403, 404 and 500 mean?
Think first, then reveal
Why hash passwords?
Think first, then reveal
Authentication versus authorisation?
Think first, then reveal
Why validate input on the server when the frontend already does?
Define endpoints for creating and reading orders, with clear request and response shapes and error codes.
The contract other systems use to call your service, usually REST over HTTP described in an OpenAPI file.
Why this pick
The web app, mobile app and warehouse all depend on the same stable contract.
What the role must know
Beginner mistake
Core
Systems
Quality
Think first, then reveal
What do HTTP status codes 200, 400, 401, 403, 404 and 500 mean?
Think first, then reveal
Why hash passwords?
Think first, then reveal
Authentication versus authorisation?
Think first, then reveal
Why validate input on the server when the frontend already does?
Think first, then reveal
How do you make a POST endpoint safe to retry?
Think first, then reveal
When does adding an index hurt?
Think first, then reveal
How do you handle a slow third-party API?
Think first, then reveal
How do you cap cost for a model-backed endpoint?
Think first, then reveal
How do retries cause outages?
Think first, then reveal
How would you enforce tenant isolation?
Think first, then reveal
When do you split a service?
Think first, then reveal
How do you review AI-generated backend code?
Build one, measure it and put it on your CV. Each has tools, setup commands and milestones.