Inspired by AirBnb
$ git clone https://github.com/raestio/accommodation-booking-system.git
$ cd accommodation-booking-system/app/
$ docker-compose up #postgres starts
$ mvn package #app builds
$ java -jar target/accommodation-booking-system-1.0.0.beta.jar #app starts (it will connect to postgres running in Docker)
Type localhost:8080 in Google Chrome (In Firefox it does not work correctly).
Some test accounts are created in advance so you can log in with them to test it out:
Admin
Login email: [email protected]
Password: test.admin
User
Login email: [email protected]
Password: test.user