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 --build
Run application (with full logging available):
docker-compose up
Run application (detached mode/with no logging available):
docker-compose up -d
Stop application:
docker-compose down
View logs for specific project/container of the application (e.g., backend):
docker-compose logs -f backend
What 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 install
For frontend, inside frontend
folder:
Run frontend:
ng serve
Run frontend (open access from other devices using server's IP):
ng serve --host 0.0.0.0
For backend, inside backend
folder:
Run backend:
npm run dev
Do not forget: mongod.exe (if on Windows) must be running for the Database to be used.