Main application url
- Client (Angular 9, nginx) hosted on Heroku
- Database (Postgres 13.1) hosted on Heroku
- Mono-backend (Spring Boot 2.4.0) hosted on Google Cloud
- Start DB (for example, in the docker)
docker-compose up -d
- Check db connection url and credentials in
monobackend/src/main/resources/application.prpoperties
- Start server
gradlew bootRun
- Start client (
npm i
before first start)
cd app-client && npm run start
-
Build client docker image
docker build -t local/app-client .
-
Build server docker image
gradlew bootBuildImage --imageName local/monobackend
-
Run docker-compose
docker compose up
-
Application available at
http://localhost:8001