Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 975 Bytes

SETUP.md

File metadata and controls

36 lines (24 loc) · 975 Bytes

Set up local development environment

  1. Fork this repository to your own GitHub account, and then clone it to your local device.
  2. Install the dependencies by running the following command:
npm ci
  1. Run the mock backend server by running one of the following commands:
npm run mock
  • It will start the mock server at http://localhost:8080.
  • It requires Docker to be installed on your local device and running. If you don't have Docker installed, you can install it from here.
  1. In another terminal tab, run the development server by running the following command:
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

How to stop the mock server

Run the following command to stop the mock server:

npm run mock-down