Skip to content

Copy of internal repo at the end of contract at IRB, as a showcase

Notifications You must be signed in to change notification settings

aurel-l/MoDEL-CNS-client

Repository files navigation

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.

Requirements

Have Node.js and npm installed and working

Setup

development

  1. Install the dependencies with npm install
  2. Create and fill and .env file in the root of the project (see reference below for the keys)
  3. Start development version of the website with npm run start

production

  1. Install the dependencies with npm ci (install exact dependencies as defined by package-lock.json file)
  2. Create and fill and .env file in the root of the project (see reference below for the keys)
  3. Build the website bundle with npm run build

.env file fields

⚠️ No sensible default value is provided for any of these fields, they need to be defined ⚠️

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.

About

Copy of internal repo at the end of contract at IRB, as a showcase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published