Fake Stories REST API
A fully working fake REST API — GET, POST, PUT, and DELETE endpoints over a stories resource — built so students can…
- Node.js
- Express
- WordPress REST API
I'm a working developer and an instructor — CTO at Cogentro, and an educator teaching Web Technologies and the MERN stack. This is where the two meet: real practices from real projects, turned into lessons students can actually use.
CTO @ Cogentro
Assistant Professor @ CUI
[instant_quote_widget]Browse by category. Every tool here is something I actively use in real projects and walk students through in class.
REST is a set of conventions — resources as URLs, HTTP verbs as actions — not a technology. An API only becomes “RESTful” when it follows those conventions consistently.
If your routes read like sentences (GET a story, POST a story), you are already thinking in REST.
GET /api/stories // list
GET /api/stories/:id // read one
POST /api/stories // create
PUT /api/stories/:id // update
DELETE /api/stories/:id // remove
I teach the way I build: hands-on, with real projects instead of disconnected exercises — so students learn to reason about code, not just copy it.
HTML, CSS, and JavaScript fundamentals through to component-based UIs with React.
Building servers and APIs with Node.js and Express from the ground up.
Connecting React, Node, Express, and MongoDB into one working application.
Designing REST endpoints and modeling data that actually holds up.
Moving past tutorials into projects with real requirements and real bugs.
Git, deployment, and the habits that separate hobby code from production code.
The order I actually teach in — each stage builds on the last, so nothing feels like a leap.
HTML, CSS, and JavaScript — no frameworks yet. Understand what’s actually happening before you abstract it away.
Component thinking, state, and props. Building interfaces that scale beyond a single page.
Servers, routing, middleware — the other half of a full-stack application.
Connecting MongoDB and designing REST APIs that your frontend can actually rely on.
Putting every piece together into one deployed, working application — the MERN stack, end to end.
A fully working fake REST API — GET, POST, PUT, and DELETE endpoints over a stories resource — built so students can…
A ready-to-run full-stack starting point connecting React, Node, Express, and MongoDB, built so students can see all four pieces wired together correctly…
Pasting code that works is easy. Knowing why it works is what makes you a developer.
Reading error messages carefully and reasoning through failure is a bigger skill than memorizing syntax.
The real learning starts the moment you leave the guided path and your project breaks in a new way.
Showing up and writing code regularly does more for your growth than occasional long sessions.
A finished, imperfect project teaches more than an abandoned perfect plan.
This guide provides a end-to-end reference for deploying Node.js applications to a Linux Virtual Private Server (VPS) automatically using GitHub…
You can set up WordPress using your server’s public IP address now and bind your actual domain name later when…
Adding WordPress alongside your Node.js apps on the same VPS is completely straightforward, especially since you already have Nginx handling…
Whether you're a student stuck on something or reaching out about a project, I read everything that comes in.
Get in Touch