Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asdhammu/restaurant
My Open Restaurant
https://github.com/asdhammu/restaurant
database docker docker-compose food-ordering hibernate java-17 liquibase ordering postgresql restaurant spring-boot spring-data-jpa springsecurity6 thymeleaf-security6 thymleaf
Last synced: 11 days ago
JSON representation
My Open Restaurant
- Host: GitHub
- URL: https://github.com/asdhammu/restaurant
- Owner: asdhammu
- License: gpl-3.0
- Created: 2017-05-23T23:38:39.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-08-04T15:26:03.000Z (over 1 year ago)
- Last Synced: 2024-10-12T06:22:39.470Z (27 days ago)
- Topics: database, docker, docker-compose, food-ordering, hibernate, java-17, liquibase, ordering, postgresql, restaurant, spring-boot, spring-data-jpa, springsecurity6, thymeleaf-security6, thymleaf
- Language: Java
- Homepage:
- Size: 10.9 MB
- Stars: 13
- Watchers: 1
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Restaurant
### Run Manually
##### Prerequisites
1. Install postgresql server
2. Enable java annotation processing for your IDE (IntelliJ recommended)
3. create myopenrestaurant schema##### Steps
1. Update values of database user and password in application-dev.yml
2. Run MyRestaurantApp.java file
3. Liquibase will create tables, add data to tables from scripts/data.sql
4. Application will run at localhost:9000### Run with docker
1. Create .env file and add following variables and assign values to them
1. POSTGRES_ROOT_PASSWORD
2. POSTGRES_DATABASE
3. POSTGRES_USER
2. Run ```docker compose up```
3. Application will run at localhost:9001