26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# CareMyWay Client
|
|
|
|
Generated using [create-react-app](https://github.com/facebookincubator/create-react-app).
|
|
|
|
## Quickstart (Development)
|
|
|
|
* Ensure the server is up and running locally.
|
|
* [CareMyWay](https://gogs.tannercollin.com/tanner/caremyway)
|
|
* 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](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-custom-environment-variables).
|
|
|
|
| Environment Variable | Default Value | Description |
|
|
| ------------------------- |:-------------------------:| -------------------:|
|
|
| `REACT_APP_API_ENDPOINT` | `"http://localhost:8000"` | Server API endpoint |
|
|
| `REACT_APP_REDUX_LOGGING` | ` ` | Set for Redux Log |
|
|
|
|
## Testing
|
|
|
|
To test the react app, call `yarn test`.
|