branch-users

Live page on : https://github.neilbryson.dev/branch-users/

Installation

Requirements

npm install

Starting the development server

npm start

Building the application

npm run build

Login feature test

LoginForm.tsx

Environment configuration

Similar to Create React App, environment variables can be set for production and development environments.

.env file prioritisation

  1. .env.{ENVIRONMENT}.local
  2. .env.{ENVIRONMENT}
  3. .env.local
  4. .env

Default environment variables

  • BASE_PATH
  • DEV_AUTO_OPEN : Automatically open the web application in a browser
  • DEV_PORT : Port to bind the dev server

Additional environment variables can be used in-app as long as these are prefixed with REACT_APP_.

Technologies used

License

MIT