Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
Alexander Wong db75281128
flex that ho
pirms 6 gadiem
.vscode Create/Update worktypes pirms 7 gadiem
public layout router, sagas, reducers, html structure pirms 7 gadiem
src flex that ho pirms 6 gadiem
.env Finished functionally complete client registration workflow pirms 7 gadiem
.gitignore initialized create-react-app@1.4.0 pirms 7 gadiem
README.md Added Complete Registration stepper component, all stepper logic pirms 7 gadiem
package.json deps update pirms 6 gadiem
yarn.lock deps update pirms 6 gadiem

README.md

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.