- You can sign in as manager or player
- Managers can create players and items
- Players can play Gacha
- You can set the rarity of the item, and the item will be discharged with a probability according to the rarity.
Building requires:
- Java 17
- Maven (3.8.5+)
- Docker
mvn clean install
- Deploy mysql
cd database
docker stack deploy -c stack.yml mysql
- Create Database
CREATE DATABASE 'gachadb';
CREATE USER 'gacha'@'localhost' IDENTIFIED BY 'gacha';
GRANT ALL PRIVILEGES ON gachadb * . * TO 'gacha'@'localhost';
cd application
mvn spring-boot:start
http://localhost:8080