How to install using docker:
- Database
docker pull postgres
docker run --rm -p:5432:5432 -d postgres
- Backend
cd backend/
docker build --no-cache --build-arg JAR_FILE=target/app-0.1.0.jar -t spring .
docker run -d -p 8080:8080 -ti spring
- Frontend
cd frontend/
docker build -t angular .
docker run -p 80:80 -d angular
As a result you have all the components run on the above ports:
5432 - Postgresql
8080 - Sprint Boot
80 - Angular
- Modify the database postgres ip/port - credentials
backend/src/main/resources/application.properties - Modify the frontend ip for the backend
frontend/app/controllers.js