Backend developer, from zero
From your first program to an API you built, tested and put online, with a database behind it.
Who it is for. You are in college or graduated recently, you want a backend developer job, and you have written little or no code so far.
The route
Stage 1 of 7 · 8 weeks Learn to program
Goal: You can write a small program that reads input, makes decisions, repeats work and saves its results.
The pieces every program is made of. Pick Python or Java and stay with it for this whole roadmap.
Almost every backend job is moving lists of records around and looking things up by a key.
Read an error message without panic, work with files, and group data with the code that changes it.
Build thisAn expense tracker on the command line
Add an expense, list them, total them by category and save everything to a file. Then do the same tutorial project on this site and compare.
Stage 2 of 7 · 2 weeks Git and the terminal
Goal: Your code lives in a Git repository on GitHub and you can work in a terminal without fear.
Move between folders, run programs, read logs. Servers have no mouse.
Commit, branch, merge and open a pull request. Every team you join will expect this on day one.
Stage 3 of 7 · 5 weeks The data structures you will use daily
Goal: You know which structure to reach for, and why a lookup by key is fast.
Most backend code is these three. Learn what each one costs.
Queues come back later as background jobs and message queues; linked lists come back in interviews.
Halving the search, again and again. A database index works the same way, so this comes before the SQL stage.
Stage 4 of 7 · 5 weeks Databases and SQL
Goal: You can design tables for an app, query them and change them safely from your own code.
Filter, sort, count, group and join. This is the SQL asked in almost every backend interview.
Keep data right when two things happen at once, and design tables that refuse bad data.
Connect, run queries with parameters, and never build SQL by gluing strings together.
Stage 5 of 7 · 6 weeks HTTP and your first API
Goal: You have an API with create, read, update and delete for one resource, backed by PostgreSQL.
Requests, responses, status codes, headers and JSON: the language every API speaks.
FastAPI if you chose Python, Spring Boot if you chose Java. Follow the official guide end to end once.
Write tests that call your endpoints, so you can change code without breaking what worked.
Build thisA to-do or notes API
Users, notes and tags in PostgreSQL; endpoints to create, list, update and delete; tests for each endpoint; a README that explains how to run it.
Stage 6 of 7 · 3 weeks Ship it
Goal: Your API runs in a container on a free host, with a public link you can put on your CV.
Package your API and its database so it runs the same on any machine.
More servers, a cache and work done in the background: the first ideas of system design.
Stage 7 of 7 · 4 weeks Get ready for interviews
Goal: You can solve common coding problems out loud and talk through your project with confidence.
A method for problems you have not seen, then the classic problems worked end to end.
Two or three problems a week, the simplest ones first. Keep a note of each mistake and why you made it.
By the end you can
- Write programs in Python or Java without copying from a tutorial line by line.
- Design tables, write the SQL that reads and changes them, and call it safely from code.
- Build an HTTP API with a framework, test it and deploy it where anyone can reach it.
- Explain how a request travels from a browser to your server and back.
- Talk through one project you built, start to finish, in an interview.
More roadmaps
SDE-1 to SDE-2: the design rounds
2 to 5 years