This project contains the codebase and installation scripts for the Cobalt Winds Backend using Spring Boot 4.0 and MSSQL trough Docker
.
This project serves a REST API that is used for the Cobalt Winds Website.
Cobalt Winds is an environment for amature League of Legends players can participate in a competition and win cash and skin prizes. Players can sign up and join a team or create a team. Team captains can invite, accept join requests or join competitions.
The following programs and tools must be installed to run this project
- Java 8 or higher
- Maven 3 or higher
- Docker (to run
docker-compose.yaml
in order to setup MSSQL)
git clone https://github.com/HarisSpahija/CobaltWindsBackend.git
cd CobaltWindsBackend
In the root directory of your project, run the following command to build the project:
mvn clean package
In the root directory of your project run docker-compose up
.
This will construct the MSSQL server using the mcr.microsoft.com/mssql/server
image
docker-compose up
To stop the MSSQL server run docker-compose down
or docker-compose down -v
to also remove the database volume.
Inside the root directory of your project
./mvnw package
java -jar target/*.jar