The official API for Game Changers Stats, build in Rust for the best efficency
| Build Status | Latest Version |
|---|---|
This repository contains the Rust API use for our API.
License: This project is licensed under the GC-Stats License v1.0 - see the LICENSE file for details.
- Webserver: Axum
- API Doc: Utoipa
- Database: MySQL 8.0+ / MariaDB 10.11+ (With SQlx)
- Cache & Queue: Redis
The easiest way to get started without installing Rust or MySQL locally.
-
Clone the repo:
git clone https://github.com/GC-Stats/API.git cd API -
Copy .env
cp .env.example .env
Edit the files, and set your own variables
-
Launch it via Docker
docker compose up -d
Warning
The database has to be made with Laravel migration, via the Website
- Requirements: Rust, Cargo, MySQL & Redis
- Commands:
cargo run
Interested in helping? Please refer to our CONTRIBUTING.md for guidelines on how to submit pull requests.