Web Development
The shortest route to a first job-ready backend: one language, Git, SQL, APIs, caching and tests.
A trimmed starter path for people new to server-side work: pick one language, use Git and GitHub, store data in PostgreSQL, build a JSON REST API with authentication, add a cache and cover it with tests. Each subject links the official documentation.
The subjects follow the roadmap.sh Backend Beginner roadmap.
Choose one server-side language and stay with it until you can build a small API end to end. JavaScript on Node.js is the shortest step for anyone who already knows the browser; Python and Go are equally good first picks with large job markets.
Run it on the server with Node.js: one language across front and back end, npm for packages, and async I/O built around promises and async/await. Add TypeScript once the basics feel comfortable.
Readable syntax, a huge standard library and mature web frameworks such as Django, Flask and FastAPI. Learn virtual environments (python -m venv) and pip early so projects stay isolated.
A small, statically typed, compiled language with goroutines for concurrency and a capable net/http package in the standard library. It builds a single binary that is easy to ship in a container.
Version control records every change to your code so you can review history, undo mistakes and work alongside others without overwriting each other. Every backend job expects you to be fluent with it from day one.
The de facto standard. Learn the everyday loop — git status, add, commit, branch, switch, merge, pull, push — and how the working tree, the index and commits relate.
A hosting service keeps a shared copy of your repository online and adds the collaboration layer: pull requests, code review, issues and CI. It also doubles as your public portfolio.
The largest host. Learn to push a repo, open a pull request from a branch, review and merge it, and run a basic GitHub Actions workflow that tests every push.
Most backends keep their core data in tables linked by keys and query it with SQL. Learn to design a schema with primary and foreign keys, write joins and aggregates, and let constraints guard data integrity instead of application code.
A free, standards-minded relational database with JSONB, rich indexing and strong transactional guarantees. Install it locally or in Docker, connect with psql, and practise CREATE TABLE, SELECT ... JOIN and EXPLAIN.
An API is the contract your server offers to clients: which URLs exist, what they accept, what they return and which errors are possible. Design it around resources, use HTTP methods and status codes correctly, and decide early how callers prove who they are.
Request and response bodies encoded as JSON with Content-Type: application/json. Keep field naming consistent, return a predictable error shape, and validate every incoming payload.
Model data as resources at stable URLs and act on them with GET, POST, PUT, PATCH and DELETE. Requests are stateless, and status codes such as 201, 204, 400, 404 and 409 tell the client what happened.
Verifying who is calling: hash passwords with bcrypt or Argon2, then keep the user signed in with a server session cookie or a signed token. Always send credentials over HTTPS only.
A JSON Web Token is a signed, base64url-encoded set of claims the server can verify without a database lookup. Keep them short-lived, check exp and the algorithm, and never put secrets inside — anyone can read the payload.
A cache keeps the result of expensive work — a slow query, a remote API call — somewhere fast so the next request skips it. The hard part is invalidation: decide how long data may be stale and what clears it when it changes.
An in-memory key-value store used for caches, sessions, rate limits and queues. Learn SET with EX for expiry, the cache-aside pattern, and the built-in types such as hashes, lists and sorted sets.
Once basic queries work, learn what keeps data correct and fast under real traffic: transactions, the guarantees behind them, and how the code that talks to the database can quietly multiply queries.
An object-relational mapper such as Prisma, TypeORM, SQLAlchemy or GORM maps tables to objects and generates SQL for you. Great for productivity, but learn to log and read the queries it produces.
Atomicity, consistency, isolation and durability: a transaction either fully happens or not at all, leaves constraints intact, does not see half-finished work from others, and survives a crash once committed.
Wrap related writes in BEGIN … COMMIT so they succeed or roll back together — for example debiting one account and crediting another. Keep transactions short to avoid holding locks.
Loading a list with one query and then each item's relations with one query apiece. It hides behind ORM lazy loading; fix it with joins, eager loading such as Prisma include, or batching.
Automated tests let you change code without fear. Aim for many fast unit tests, fewer integration tests against real dependencies, and a handful of end-to-end checks of the main user flows, all run in CI on every push.
Test one function or class in isolation, replacing slow collaborators with fakes. Tests should run in milliseconds and fail with a message that points straight at the bug.
Check that your code works with the real database, cache or HTTP layer. Spin up dependencies in Docker or Testcontainers and reset state between tests.
Verify behaviour from the outside: send real HTTP requests to the running API and assert on status codes and response bodies, without caring how the code is structured inside.