#module #composing #rest #mind #gaming #supporting #online

atlasserver

Atlas is a rust library for the purpose of composing REST APIs out of re-usable and extensible modules, specifically with supporting the networking needs of online gaming services in mind

5 unstable releases

0.3.0 Feb 21, 2022
0.2.0 Feb 21, 2022
0.1.2 Jul 1, 2021
0.1.1 Jun 5, 2021
0.1.0 Apr 30, 2021

#1432 in Database interfaces

MIT license

100KB
3K SLoC

crates ci

atlas

atlasserver is a rust library for the purpose of composing REST APIs out of re-usable and extensible modules, specifically with supporting the networking needs of online gaming services in mind.

How it works

Structs which implement the CustomModule trait are joined by an object which implements the CustomServer trait, which dispatches the warp filters defined within the modules. CustomModules can work on data through the use of "resources", which are arbitrary types that are stored in an HList.

See the examples in the repo for more details.

Features

  • modular/extendable
  • supports JSON/Protobuf payloads
  • data storage for dynamodb (can be exchanged)

Endpoints:

  • User Registration
  • User Login (+ session validation)

Dependencies

~13–26MB
~348K SLoC