/Fake-JSON-Generator-API

A simple Node.js REST API that provides fake users, posts, and comments data — perfect for frontend testing and prototyping. Features in-memory storage, full CRUD endpoints, and custom error handling with clean modular code.

Primary LanguageJavaScript

JSON Placeholder API

A simple Node.js REST API that provides fake users, posts, and comments data — perfect for frontend testing, prototyping, or learning backend development.


Features

  • Fully RESTful API for Users, Posts, and Comments
  • Supports CRUD operations: Create, Read, Update, Delete
  • In-memory data storage (data resets on server restart)
  • Clean modular code with routes and models separated
  • Custom error handling with meaningful messages
  • Lightweight and easy to extend

Tech Stack

  • Node.js
  • Express.js

Getting Started

Prerequisites

Installation

git clone https://github.com/raoulbock/Fake-JSON-Generator-API
cd Fake-JSON-Generator-API
npm install