awidiyadew / json-api

Simple dummy api with JSON server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dummy API - JSON Server

How to run?

DB=<db-name.json> npm run start

Routes

Detail routes can be read from JSON Server docs

GET http://localhost:3000/categories
GET http://localhost:3000/news
GET http://localhost:3000/news/{id}
GET http://localhost:3000/contacts
GET http://localhost:3000/contacts/{id}

About

Simple dummy api with JSON server