Go to file
2018-04-23 13:01:41 -06:00
.vscode Create/Update worktypes 2017-09-21 15:01:49 -06:00
public layout router, sagas, reducers, html structure 2017-08-29 16:55:44 -06:00
src added filter by approval 2018-04-23 13:01:41 -06:00
.env Finished functionally complete client registration workflow 2017-08-29 19:51:45 -06:00
.gitignore initialized create-react-app@1.4.0 2017-08-29 15:29:44 -06:00
package.json added functional duration/time selector 2018-04-18 16:50:02 -06:00
README.md Added Complete Registration stepper component, all stepper logic 2017-09-03 21:47:18 -06:00
yarn.lock added functional duration/time selector 2018-04-18 16:50:02 -06:00

CareMyWay Client

Generated using create-react-app.

Quickstart (Development)

  • Ensure the server is up and running locally.
  • Install dependencies with yarn install
  • Run the client with yarn start

Now you can visit localhost:3000 from your browser.

Environment Variables

The environment variables are embedded during the build time. For more information, please refer to the docs.

Environment Variable Default Value Description
REACT_APP_API_ENDPOINT "http://localhost:8000" Server API endpoint
REACT_APP_REDUX_LOGGING Set any value for Redux logging

Production

To build the production instance of this application, run the following:

export REACT_APP_API_ENDPOINT="http://dev.tannercollin.com:8000/" && yarn build

# then, to serve the production site locally
yarn global add serve
serve -s build --port 3000

Testing

To test the react app, call yarn test.