0% found this document useful (0 votes)
35 views1 page

Essential Server Commands Guide

The document provides a step-by-step guide for setting up a JSON server using npm commands. It includes instructions for installing json-server globally, initializing a server folder, and running a db.json file. Additionally, it offers a link for converting JavaScript to JSON format.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Essential Server Commands Guide

The document provides a step-by-step guide for setting up a JSON server using npm commands. It includes instructions for installing json-server globally, initializing a server folder, and running a db.json file. Additionally, it offers a link for converting JavaScript to JSON format.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1-run this commands on cmd global =====> npm i-g json-server

2-run this commands on cmd folder server ===>npm init

3-run this commands on cmd on folder server =====> npm i json-server

4-to run [Link] ===> json-server --watch [Link]

to convert js to json

[Link]

You might also like