- Install postgresql server
- Enable java annotation processing for your IDE (IntelliJ recommended)
- create myopenrestaurant schema
- Update values of database user and password in application-dev.yml
- Run MyRestaurantApp.java file
- Liquibase will create tables, add data to tables from scripts/data.sql
- Application will run at localhost:9000
- Create .env file and add following variables and assign values to them
- POSTGRES_ROOT_PASSWORD
- POSTGRES_DATABASE
- POSTGRES_USER
- Run
docker compose up
- Application will run at localhost:9001