To prepare the env from the root folder in the terminal digit th docker compose command
docker compose up --build- FOR FRONTENDAPP Oopen browser on address http://localhost:8080/ ,
- FOR BACKEND SWAGGER open browser on address http://localhost:8000/docs ,
- FOR DJANGO ADMIN open browser on address http://localhost:8000/admin (user: root, pw:root)
To run backend test once containers are up from a second terminal enter the djbackend container and use django command to execute tests
docker compose up --build
docker compose exec djbackend sh
python manage.py testThe project contains a sqlite3 db already populated with samples, if the sqlite3 file is missing or deleted, to rebuild the db once the backend container is up enter via terminal and run the migrate command
docker compose up --build
docker compose exec djbackend sh
python manage.py migrateTo edit vue app and see realtime chages once the backend container is up form the FE directory you can launch development server through the following commands
docker compose up --build
CD FE
npm install
npm run buildOPEN BROWSER ON ADDRESS http://localhost:5173/