Get the latest version of node from the official website or using nvm Nvm approach is preferred.
Run npm install
or yarn
from rootpath of the project.
To start the server by default (development) run:
npm run start
To start a specific environment, run:
npm run start-env environment
This project requires environment file with these keys:
- REACT_APP_BASE_URL : the api url
To only build the application in a specific env, run:
npm run build environment