React application for other labs
# Run the container
$ docker run \
-v /etc/localtime:/etc/localtime:ro \
-e "REACT_APP_BACKEND_URL=http://localhost:8080" \
--restart always \
--name lab3 \
-p 3000:3000 \
thomaslacaze/lab3
See here
- NodeJS, yarn.
- Clone the repository
git clone https://github.com/Cloud-Integration-2021/lab3.git
- Change the working directory
cd lab3
- Setup environnement variables
Environment Variable | Default | Description |
---|---|---|
REACT_APP_BACKEND_URL |
http://localhost:8080 |
BackendEndpoint of lab1 |
- Run the app
$ yarn install --pure-lockfile
$ yarn start
🌟 You are all set!