A online coffee shop project written in Java EE. Project Repository.
To build and run this project, you need:
- GlassFish 5.0 for Java EE 8 API
- JDK lower then 8u152 for SSL
- Maven higher then 3.2.5 for Sass
- MySql 8.0.12
- Proper MySql Connector/J 8.0.12
- A Sass compiler in path
Build:
mvn package
Deploy:
Run coffee-shop-main/src/main/resources/coffeeshop.setup/create.sql
on your database, and a database named coffee_shop will be created.
Add a new data source jdbc/CoffeeShop
to your glassfish.
Deploy the war package in coffee-shop-main/target
to your glassfish server, start then application and login using default admin account - username: admin, password: admin. Switch to data tab, use the button to initialize demo data.