docker exec -it node-lenus-spa bash
The task
You should implement a small tracker with React, which allows a user to track their weight over time.
- The user should be able to see a timeline of the measurements.
- The user can create new weight measurements and pick the date for it.
- The user can edit and delete measurements
- The user can see the timeline update as soon as measurements are modified or added
Run the project
-
Copy
./backend/.env-example
to./backend/.env
-
Run
$ docker-compose up --build
- Run migrations:
$ docker exec -it node-lenus-api bash
In the docker container run:
$ cd database
$ sequelize-cli db:migrate
$ sequelize-cli db:seed:all
- Open URL: http://localhost:3000 in a browser
Navigate between containers
$ docker exec -it node-lenus-api bash
$ docker exec -it node-lenus-spa bash