Skip to content

NodeJS JSON API server for dynamic and static data ๐Ÿš€

Notifications You must be signed in to change notification settings

halilsafakkilic/dummy-json-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dummy JSON API Server

This project was created using JSON Server package. If you need a fake service in the development process, you can edit it as you wish.

  You can find out how it is used at https://www.npmjs.com/package/json-server.

  If you want to create an application via json, you can do so by editing the db.json file and then running the command below.

npm run start-json

 

Do you need more?

For this, you can edit the index.js file as you wish and then run the following command.

node index.js

  How you can change running port?

PORT=8000 node index.js

For PowerShell;

$env:PORT="8000"; node index.js

  Note: You want to change port for server of db.json, please edit port value in package.json.