October 2019
Intermediate to advanced
426 pages
11h 49m
English
Next, we need to adjust our package.json file, in order to start the server, in addition to our client (running via webpack-dev-server).
Let's start adjusting the package.json file:
"scripts": { "start:server": "npx json-server --watch server/db.json --port 4000", "start": "react-scripts start",
"scripts": { "start:server": "npx json-server --watch server/db.json", "start:client": "react-scripts start",
Read now
Unlock full access