Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aligator/highscore-rs
Just a simple highscore api to explore the Rust language
https://github.com/aligator/highscore-rs
Last synced: 7 days ago
JSON representation
Just a simple highscore api to explore the Rust language
- Host: GitHub
- URL: https://github.com/aligator/highscore-rs
- Owner: aligator
- Created: 2023-08-05T20:33:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-01T19:45:26.000Z (about 1 year ago)
- Last Synced: 2024-05-21T05:01:06.994Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Highscore-rs
A simple highscore server written in Rust.
May be used for small games like [Ludum Dare games](https://ldjam.com/).## Usage
Just run with docker, for example:
```bash
docker run --rm -p 8000:8000 -e ROCKET_LOG_LEVEL=normal -v highscore:/home/highscore/data ghcr.io/aligator/highscore-rs:latest
```or with docker-compose:
```bash
docker-compose up -d
```or compile it yourself:
```bash
ROCKET_LOG_LEVEL=normal cargo run --release
```## API
Just see [http://localhost:8000/swagger-ui/](http://localhost:8000/swagger-ui/) after starting the server.