Skip to content
All roadmaps

Backend developer, from zero

From your first program to an API you built, tested and put online, with a database behind it.

Field
Backend
Role
Backend developerSoftware engineer (SDE)
Experience
Student or fresher0 to 2 years

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.

About 8 months at 10 hours a week · 7 stages · 18 topics

  1. 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.

    1. The pieces every program is made of. Pick Python or Java and stay with it for this whole roadmap.

    2. Almost every backend job is moving lists of records around and looking things up by a key.

      • ListsTutorial on Engineerhoon · 1 h
      • StringsTutorial on Engineerhoon · 55 min
      • Dictionaries and setsTutorial on Engineerhoon · 55 min
      • Nested dataTutorial on Engineerhoon · 55 min · JSON from an API has exactly this shape.
    3. Read an error message without panic, work with files, and group data with the code that changes it.

    Build this

    An 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.

  2. 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.

    1. Move between folders, run programs, read logs. Servers have no mouse.

    2. Commit, branch, merge and open a pull request. Every team you join will expect this on day one.

  3. 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.

    1. Most backend code is these three. Learn what each one costs.

    2. Queues come back later as background jobs and message queues; linked lists come back in interviews.

    3. Halving the search, again and again. A database index works the same way, so this comes before the SQL stage.

  4. 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.

    1. Filter, sort, count, group and join. This is the SQL asked in almost every backend interview.

      • Databases and SQLLearning path on Engineerhoon · 8 tutorials, about 9 h · Work through the first module, Asking questions.
    2. Keep data right when two things happen at once, and design tables that refuse bad data.

    3. Connect, run queries with parameters, and never build SQL by gluing strings together.

  5. 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.

    1. Requests, responses, status codes, headers and JSON: the language every API speaks.

    2. FastAPI if you chose Python, Spring Boot if you chose Java. Follow the official guide end to end once.

    3. Write tests that call your endpoints, so you can change code without breaking what worked.

    Build this

    A 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.

  6. 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.

    1. Package your API and its database so it runs the same on any machine.

    2. More servers, a cache and work done in the background: the first ideas of system design.

  7. 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.

    1. A method for problems you have not seen, then the classic problems worked end to end.

      • Interview practiceLearning path on Engineerhoon · 4 tutorials, about 4 h 30 min · Its second tutorial assumes the whole Data structures path; do the trees, heaps and graphs tutorials there first if you have the weeks.
    2. 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.

Ticks are your own notes on how far you are. They stay in this browser and nowhere else. The times assume 10 hours a week; go slower or faster as your days allow.

More roadmaps

  • Full-stack developer in a year

    Student or fresher0 to 2 years

    One language from the browser to the database, and one real app you design, build, test and put online.

    About a year at 10 hours a week · 8 stages

  • Low-level design, system design and a sharper coding round: what product companies test before they hire you as SDE-2.

    About 6 months at 8 hours a week · 8 stages