A front end React project backed by a simple JSON server.
# .env.example
PORT=3000
NODE_ENV=development
Start json-server
on process.env.PORT
, backed by db.json
.
Use webpack
to build src/index.js
into public/main.js
and copy all src/*.{html,css}
into public/
.
Use webpack-dev-server
to open a browser and live-reload the frontend.
Use npm-run-all
to start
and dev
in parallel.