Skip to content

SM-Obstacle/Obstacle-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShootMania Obstacle API

This repository contains the source code of the server that holds the ShootMania Obstacle API, with other services. It manages records saving, authentication, players and maps registering and all the stuff it goes with.

The API is splitted into different workspace members in the crates/ folder.

The server handles a REST and GraphQL API. The REST API is mainly used by the Obstacle mode, and the GraphQL API is used by the website.

Services

The Obstacle Records API uses 2 databases to manage the records. MySQL (more specifically MariaDB) contains all the persistent data transmitted by the API (information about a player, a record, etc), while Redis stores all the volatile data, that have to be accessed quickly, especially the leaderboards of the maps.

The API also includes a cache manager (the socc package).

Documentation

You can find the crates documentation here.

About

The ShootMania Obstacle Titlepack API

Topics

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages