- Clone/download repo
yarn install
(ornpm install
for npm)
First you need to install JSON-Server Its full fake REST API and easy to use for mock data from backend. You can also CRUD data from Postman or Insomnia.
# To instal JSON server
$ npm install -g json-server
# run JSON Server
$ json-server database.json
# Now JSON server is running
Development
yarn run start-dev
- Build app continuously (HMR enabled)
- App served @
http://localhost:8080
Production
yarn run start-prod
- Build app once (HMR disabled) to
/dist/
- App served @
http://localhost:3000