This project was bootstrapped with Create React App.
This project requires Node API. Clone this repo: node-rest-api
To start the application:
- Add
env
variablesNODEDEMO_API_URL
For Ubuntu
- Open
~/.bashrc
- Add following lines at the end of the file
export NODEDEMO_API_URL="http://localhost:8080"
- Run command:
npm start
- Add config var:
NODEDEMO_API_URL
(API url) - Follow instructions of create-react-app-buildpack