Hepful YT tutorial about json-sever link
About json-sever link
Before running server, run this commands
- Install json-server global
- npm install -g json-server
- Install modules
- yarn
Run server with | Default port 3000
- yarn serve-json
Custom port
- Go to package json, then scripts, then in serve-json update 3000 to your desired port