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.