To run the server with the manually created JSON file, just type npm install
and then json-server --watch db.json
.
More info about json-server can be seen here
To run the server with faker.js json-server employees.js
.
Then navigate to localhost:3000/employees
More info about faker.js can be seen here