Skip to main content

Learning path

Become a backend developer

Learn to build the APIs, databases and services that sit behind an app, and to run them safely.

You will be able toYou'll finish able to build, secure, test and deploy an API backed by a database.

Stage 01

Foundations

Assumes: Nothing. A computer you can install software on.

Learn version control, a first language and the command-line tools you will use daily.

  1. Series: Git and GitHub workflow

    1. How to Install and Configure Git

      You will install Git 2.53 from Ubuntu 26.04's own packages, set your name and email, make main the default branch, choose an editor and a few safe defaults, use a different email for work projects, and create an SSH key to use with GitHub.

      Beginner · 14 min

    2. How to Make Your First Git Commits and Read the History

      You will turn a folder into a Git repository, make commits in small steps, check what changed before you commit, ignore files that do not belong in history, rename and delete files, and read the history back in several ways.

      Beginner · 16 min

    3. How to Create, Switch and Merge Branches in Git

      You will create branches, switch between them, commit on each, merge one into another in the two ways Git can, read the branch graph, and delete branches you no longer need.

      Beginner · 15 min

    4. How to Resolve a Git Merge Conflict

      You will cause a merge conflict on purpose, read the conflict markers, resolve it by editing the file, finish the merge, back out of a merge you do not want, and pick one side of a conflict with a single command.

      Intermediate · 14 min

    5. How to Undo Mistakes in Git: restore, revert, reset and reflog

      You will discard edits, unstage files, fix the last commit, undo a commit safely with revert, move a branch back with reset, and bring back commits you thought you had lost with the reflog.

      Intermediate · 17 min

    6. How to Keep Passwords and API Keys Out of Git

      You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.

      Beginner · 12 min

    7. How to Push to GitHub over SSH and Open a Pull Request

      You will connect a local repository to a new GitHub repository over SSH, push your work, push a branch, open a pull request from the website and from the GitHub CLI, merge it, and bring the result back to your computer.

      Beginner · 16 min

  2. Series: Python from zero

    1. How to Install Python 3.15 and Run Your First Script

      You will install uv 0.13 from a checksum-verified release on Ubuntu 26.04, use it to install Python 3.15 next to the system Python, and write and run your first script.

      Beginner · 12 min

    2. How to Use Virtual Environments and Install Packages in Python

      You will create an isolated Python 3.15 environment for a project, install a package into it with pip, record the exact versions, rebuild the environment from that record, and then manage the same project with uv.

      Beginner · 14 min

    3. How to Read and Write Files and JSON in Python

      You will read and write text files with pathlib, convert Python data to JSON and back, and use both to build a small task list that keeps its data in a JSON file and survives a damaged file.

      Beginner · 16 min

    4. How to Call a Web API from Python with httpx

      You will install httpx 0.28, write a small local API to practise on, then call it from Python by fetching JSON, add query parameters and a reusable client, handle bad statuses, timeouts and network failures, send JSON in a POST request, and make several requests at once with async code.

      Beginner · 18 min

    5. How to Write and Run Tests in Python with pytest

      You will install pytest 9.2 in a uv project, write tests for a small price-parsing module, run many cases from one test with parametrize, read a failure and fix the code, and use a fixture that gives each test its own temporary folder.

      Intermediate · 18 min

  3. How to Install Node.js 26 LTS on Ubuntu 26.04

    You will install Node.js 26 LTS with npm from the NodeSource apt repository on Ubuntu 26.04 so that apt keeps it patched, run a first script, set up global npm packages without sudo, and learn the checksum-verified tarball route as an alternative.

    Beginner · 14 min

  4. How to Process JSON on the Command Line with jq

    You will install jq 1.8, read values out of a JSON file, filter and reshape arrays, total and group data, turn JSON into CSV, pass shell values in safely, change a document, work with files of one JSON object per line, and use jq's exit status in scripts.

    Beginner · 18 min

Stage 02

Core skills

Assumes: You can write and run small programs in Python or JavaScript.

Build REST APIs, store data in PostgreSQL, and handle authentication and injection safely.

  1. How to Build a REST API with FastAPI

    You will build a small items API with FastAPI 0.163 on Python 3.15 that validates its input, returns the right HTTP status codes, never shows a stack trace to callers, documents itself, and has automated tests.

    Beginner · 22 min

  2. How to Build a REST API with Express 5

    You will build a small items API with Express 5.3 on Node.js 26 that validates its input, returns the right HTTP status codes, never sends a stack trace to callers, and has automated tests that use only Node's built-in test runner.

    Beginner · 22 min

  3. How to Test and Debug an API with curl

    You will write a small practice API, then call it with curl 8 to read responses and headers, send JSON, send an authorization header without putting the secret on the command line, follow redirects, measure timing, set timeouts and retries, and read curl's verbose output when a request goes wrong.

    Beginner · 20 min

  4. How to Install PostgreSQL 18 on Ubuntu 26.04 and Create Your First Database

    You will install PostgreSQL 18 from the official PostgreSQL apt repository, create a database and a user for your app, and connect to it with a password.

    Beginner · 11 min

  5. How to Add JWT Authentication to a FastAPI API

    You will add login to a FastAPI 0.163 API on Python 3.15 with Argon2 password hashes, PyJWT access tokens that expire after 15 minutes, a signing secret kept out of your code, a protected route, and tests that prove expired, tampered and unsigned tokens are refused.

    Intermediate · 25 min

  6. How to Prevent SQL Injection in Python and Node.js

    You will write a login lookup that an attacker can break with one line of input, watch it fail, fix it with parameterised queries in both Python and Node.js, and learn the cases where parameters are not enough.

    Intermediate · 14 min

  7. How to Receive and Verify Webhooks Safely in Node.js

    You will build an Express 5.3 webhook receiver on Node.js 26 that checks an HMAC-SHA256 signature over the raw request body, compares it in constant time, rejects stale timestamps and duplicate events, and a small sender that proves each rejection works.

    Intermediate · 22 min

  8. How to Find and Fix Slow PostgreSQL Queries with EXPLAIN ANALYZE

    You will read a PostgreSQL 18 query plan, add an index that turns a 40 ms table scan into a 0.2 ms lookup, and use pg_stat_statements to find which queries deserve that effort.

    Advanced · 16 min

  9. How to Write and Run Your First Web Server in Go

    You will write a web server in Go 1.27 using only the standard library, with path routes, a JSON endpoint, a POST handler, timeouts and a clean shutdown, then test the handlers without opening a port and build the server into one binary.

    Beginner · 18 min

Stage 03

Build projects

Assumes: You can build a small API that reads and writes a database.

Combine an app, a database and a cache into something you can run anywhere.

  1. How to Run an App and PostgreSQL Together with Docker Compose

    You will describe a Node.js app and a PostgreSQL 18 database in one compose.yaml, start both with one command, keep the data in a named volume, and keep the database password out of the file.

    Intermediate · 16 min

  2. How to Create Your First Django 6 App

    You will create a Django 6.1 project with uv on Python 3.15, build a small bookmarks app with a database model, an admin screen, a page and a test, and see how the pieces connect.

    Beginner · 22 min

  3. How to Install Valkey 9.1 (a Redis-Compatible Cache) on Ubuntu 26.04

    You will install Valkey 9.1 from the project's official binary release, run it as its own user with a password and a memory limit, and use it as a cache from the command line.

    Beginner · 12 min

  4. How to Rate Limit an API with Nginx

    You will put request limits in front of a small API with Nginx 1.30 on Ubuntu 26.04, give the login route a stricter limit than the rest, return a proper 429 response with Retry-After, exempt a trusted address, and watch every limit work with real requests.

    Intermediate · 20 min

Stage 04

Job-ready

Assumes: You have built an API with a database behind it.

Deploy, test automatically and protect your data, as you would in a team.

  1. How to Deploy a Django App with Gunicorn and Nginx on Ubuntu 26.04

    You will run a Django 6.1 project on Ubuntu 26.04 with DEBUG off, a secret key kept in a private file, Gunicorn started by a systemd socket and service as an unprivileged user, and Nginx serving static files and passing everything else to the app.

    Advanced · 28 min

  2. How to Run Node.js Tests Automatically with GitHub Actions

    You will write tests with Node.js's built-in test runner, run them on every push and pull request with a GitHub Actions workflow that caches npm downloads and tries two Node.js versions, and check the workflow file locally before you push it.

    Intermediate · 13 min

  3. How to Back Up and Restore a PostgreSQL Database with pg_dump

    You will back up a PostgreSQL 18 database in three formats, restore it into a fresh database, check the copy matches, and schedule a nightly backup that deletes old files.

    Intermediate · 14 min