What you will need:
- Docker
Tested on:
- Docker Engine v20.10.17
- Docker Desktop v4.10.1.
Inside integration folder you can use the following commands:
Run application (and build):
docker-compose up --buildRun application (with full logging available):
docker-compose upRun application (detached mode/with no logging available):
docker-compose up -dStop application:
docker-compose downView logs for specific project/container of the application (e.g., backend):
docker-compose logs -f backendWhat you will need:
- NodeJS
- Angular
- MongoDB
Tested on:
- NodeJS v18.12.1
- Angular v14.2.8
- MongoDB v4.4
Before running the application and after every new node_module is installed using npm install @package-name, all project members must execute in both backend and frontend:
npm installFor frontend, inside frontend folder:
Run frontend:
ng serveRun frontend (open access from other devices using server's IP):
ng serve --host 0.0.0.0For backend, inside backend folder:
Run backend:
npm run devDo not forget: mongod.exe (if on Windows) must be running for the Database to be used.