Skip to content

seven9nrh/gacha-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gacha-java

Java CI with Maven CodeQL Dependency Review

Features

  • 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.

Requirements

Building requires:

  1. Java 17
  2. Maven (3.8.5+)
  3. Docker

Installation

mvn clean install

Getting Started

Database

  1. Deploy mysql
cd database
docker stack deploy -c stack.yml mysql
  1. Create Database
CREATE DATABASE 'gachadb';
CREATE USER 'gacha'@'localhost' IDENTIFIED BY 'gacha';
GRANT ALL PRIVILEGES ON gachadb * . * TO 'gacha'@'localhost';

Server

cd application
mvn spring-boot:start

REST API

Web Browser

http://localhost:8080

Documentation

About

ガチャAPIの試作

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors