Skip to content

Mrak2017/car-maintenance-pocketbook

Repository files navigation

Car Maintenance Pocketbook application

Server on Google Cloud Client on Heroku

Main application url

Application content:

  • 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

For local development

  1. Start DB (for example, in the docker)
    docker-compose up -d
  2. Check db connection url and credentials in monobackend/src/main/resources/application.prpoperties
  3. Start server
    gradlew bootRun
  4. Start client (npm i before first start)
    cd app-client && npm run start
Local application start
  1. Build client docker image
    docker build -t local/app-client .

  2. Build server docker image
    gradlew bootBuildImage --imageName local/monobackend

  3. Run docker-compose
    docker compose up

  4. Application available at
    http://localhost:8001