Mission 5 of 12 · Updated November 2026

Build a Recruitment API with Express & PostgreSQL

Go backend. Design a REST API for candidates, jobs and applications with Node.js and Express, store it in PostgreSQL with real tables, keys and joins, validate every request with Zod, and organise the code into routes, services and data access.

By the end of this mission: “I can design a database-backed REST API with SQL, validation, error handling and a clean structure.”

The tech stack for this mission

Node.js logoNode.jsExpress logoExpressPostgreSQL logoPostgreSQLZod logoZodBruno logoBruno

What you learn, checkpoint by checkpoint

  1. Checkpoint A

    Design tables, keys and relationships, and write SQL with JOINs

    • Design tables for candidates, jobs and applications with primary keys and relationships
    • Write SQL: SELECT, INSERT, UPDATE, DELETE and JOIN
    • Query PostgreSQL from Node.js with the pg client
  2. Checkpoint B

    Build Express routes and middleware for full CRUD over PostgreSQL

    • Set up an Express server with routing and middleware
    • Design clean REST endpoints for full CRUD
    • Test every endpoint in Bruno and use basic Bash in the terminal
  3. Checkpoint C

    Validate with Zod, handle errors, and split routes, services and data access

    • Validate request data with Zod schemas
    • Return proper status codes and handle errors consistently
    • Separate routes, services and data access - your first real architecture

AI companion mode · AI as Reviewer

You write the code · AI reviews it

Companion suggests refactors and reviews PRs. You write the code; AI catches what you miss. You decide what to accept.

What proves you’re done

Recruitment API repo + SQL schema + Bruno collection covering every endpoint

Every mission ships something real you can show. If you can’t explain it, you can’t submit it.

Deliberately left out of this mission

ORMs · Microservices · Advanced SQL performance tuning · Advanced architecture

Depth is set on purpose: you master what this mission needs, not everything at once. The advanced material lives in optional self-study after Mission 12.

Free · no card needed

Reading is not building.

This mission is part of the paid 12-week programme - but the way we teach is free to try. The free trial puts you inside Sigmo, the learning portal our students use daily, with the 6 Projects in 6 Days precourse: real projects, real code, published to your own GitHub.

Start the free trial

Ready for the real thing?

The AI-Native Software Development Programme - all 12 missions with a live cohort, daily Buildroom, and mentors watching your back.