/Cool-API-Simulation

This project helps simulate an API without a backend just run and enjoy! Link to official repo:

MIT LicenseMIT

Cool API Simulation

Cool API Simulation is a project that implements JSON Server Repo in order to provide an easy way for calling an API without coding anything in the backend.

Steps

Install JSON Server

npm install -g json-server

Modify db.json file as needed

{
  "posts": [
    { "id": 1, "title": "json-server", "author": "typicode" }
  ],
  "comments": [
    { "id": 1, "body": "some comment", "postId": 1 }
  ],
  "profile": { "name": "typicode" }
}

Start JSON Server

json-server --watch db.json

Finally import API Simulation.postman_collection.json file into Postman

License

This project uses the MIT License.