This project serves blog posts two ways:
- Traditional server-rendered HTML pages (SSR)
- A clean JSON API you can consume with
fetch()from any frontend
The goal: show the difference between an "application" that returns HTML and an "API" that returns raw data — and let you easily build your own client.
Git 🚀 https://github.com/dupontdenis/mongoose-API-virtual.git
A minimal, dependency-free web UI to view posts from a REST API.
Supported endpoints:
- GET
/api/posts— list all posts - GET
/api/posts/:id— get one post by ID