Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 758 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 758 Bytes

fake-rest-api

This project demonstrates how to create a fake REST API using json-schema-faker and json-server.

See my blog post for more details.

Install

Install dependencies with:

yarn install

Usage

Start the REST API with:

yarn run start

This will generate random data in /buildScripts/db.json and then serve it on a REST API on port 3000.

Related links