This project was bootstrapped with Create React App.
-
Looking at setting different environments for development, testing, and production. See here, here, and here
-
Testing tutorial available here. Example testing with API mocks found in this tutorial
-
Server mocks made using this framework
-
Tutorial on managing the different environments and how to integrate them into builds
- Clone this repository
- Install npm dependencies:
npm i
- Run the app:
npm start
- By default, it will run on localhost:3000. This is the default for projects created with Create React App.
- You can change the default port by overwriting the .env file:
npm start
will use the.env.development
file. You can overwrite this locally by copying the file to.env.development.local
.- To update the port, add a new "PORT" variable.
- For more information on how Create React App handles .env files, see the documentation here
This app depends on the Rhomis Authenticator App to manage users and authentication. You should run that node app alongside on another localhost port during development.