- Docker & Docker Compose
- Clone repository
- Change directory to
sandbox
by usingcd sandbox
docker-compose build
to build container image- type
docker-compose up -d
will start the application in detached mode - and proceed to Migrations and Seeds sections
docker-compose run backend node migrate.js
docker-compose run backend node seeds.js
⚠️ mysql container is not mounted to host volume so the application will lost its data when the mysql container stopped
Running tests can be run with following commands
- for Backend tests
docker-compose run backend npm run test
- for Frontend tests
docker-compose run frontend npm run test
Frontend
Backend
docker-compose down
will gracefully shutdown all containers.
There are 2 major applications containers and one DB containers
frontend
&backend
docker-compose logs your_container_name
- Widget Style improvement (Animation)
- More Test Cases for both Frontend & Backend
- Application of ORM if there will be more tables
- Container image caching