- $ npm i json-server -g
- $ json-server --watch data/db.json --port 3500
- note:
-
Specify where ur data is: "data/db.json"
-
port: 3500
-- Then it will identify our todo's there and it starts watching that data
-- so it will support create, read, update & delete functions