Welcome to a new project: Backend Development with ExpressJS. Different vibe from the gallery blog — this time we’re building the thing that serves the data, not the thing that shows it.
No pretty UI here. This is the engine room.
What “fullstack” actually means
You’ve probably heard the word a hundred times. Let’s make it concrete. Fullstack just means following one piece of data through the whole trip:
- Client — the browser. It asks for things.
- Server — our Express app. It listens, decides, and answers.
- Database — MySQL. It remembers things.
That’s it. Three players, one loop. Everything else is detail.
The round trip, step by step
This is the part to really sit with. Tap both tabs and follow the dots — that loop is what every backend lesson after this one is secretly about:
Follow the data around the loop
- 1The browser sends GET /api/users to Express.
- 2Express runs a SELECT query against MySQL.
- 3MySQL returns the matching rows.
- 4Express wraps them in JSON and sends them back. That's the round trip.
Notice the shape of it: request goes out, data comes back. A GET reads. A POST writes. Same road, opposite errands.
The cast for this project
Four tools, all of them boring on purpose — boring is good in the backend:
Node.js
JavaScript runtime
Runs JavaScript outside the browser. This is where our server lives — no HTML, no page, just a program that listens.
Why this?
One language for everything. You already know JavaScript from the frontend, so the backend feels familiar.
Express
Web framework
The layer on top of Node that makes handling requests bearable. It turns URLs into functions you write.
Why this?
Tiny, unopinionated, and everywhere. You can read an Express app top to bottom and understand all of it.
MySQL
Database
The kitchen. Stores our users in tables, and answers questions like "who has id 3?" without blinking.
Why this?
The most widely used database in the world — which means tutorials, jobs, and answers everywhere.
DBngin
Run MySQL locally
A little app that starts MySQL on your laptop with one click. No server setup, no cloud bill.
Why this?
Local databases are disposable. Break everything, reset everything, learn everything.
What we’ll build across this project
Five lessons, one small but real API — a users service. Here’s the map:
- This lesson — the fullstack loop in your head.
- Meet Express — what it is, where it came from, and your first server.
- Basic API development — the four HTTP methods and how endpoints are named.
- Database with DBngin + MySQL — installed, running, and ready.
- The full code — all four files, explained line by line, running for real.
By the end, you’ll be able to open a browser, hit your own API, and watch data come out of a real database. That moment never gets old.
Recap
Fullstack = client → server → database → back to client.
Client asks. Server decides. Database remembers.
GET reads data, POST writes data — same road, different errand.
Our stack: Node.js + Express + MySQL, running locally with DBngin.
Five lessons, one goal: a real API you can hit from the browser.
Next up: meet Express properly — what it is, and why it’s been the default way to write backends in JavaScript for over a decade.
Up next
Meet Express: what it is and where it came from
The story of Express — who made it, why it took over, and what a server actually looks like when it's just a few lines of code.