This project was bootstrapped with Create React App. See the corresponding documentation to see how you cani nteract with it apart from what is written in the following README.
Have Node.js and npm installed and working
- Install the dependencies with
npm install
- Create and fill and
.env
file in the root of the project (see reference below for the keys) - Start development version of the website with
npm run start
- Install the dependencies with
npm ci
(install exact dependencies as defined bypackage-lock.json
file) - Create and fill and
.env
file in the root of the project (see reference below for the keys) - Build the website bundle with
npm run build
key | value | description |
---|---|---|
NODE_ENV | development or production |
dev or prod flag |
REACT_APP_REST_ROOT | <url> |
url of the API REST root endpoint |
That is also where you can put Create React App advanced configuration, see here.