Crate instrumentality

Source
Expand description

This is the API documentation for the Instrumentality server. It contains technical details about the internal operation of Instrumentality, and is solely aimed at developers looking to understand or extend the server’s capabilities.

You can find documentation on installation and running the server at: https://docs.berserksystems.com/

Instrumentality makes heavy use of Axum and MongoDB. MongoDB is probably not the correct choice for this system at scale, and a re-write using PostgreSQL would likely be more performant. However, whilst iterating, being able to add and remove fields ad-hoc is useful.

Modules§

boot
config
Functions for the configuration file.
data
Data enums for content, presence and profile metadata.
database
Database functions and implementations for Instrumentality.
group
Groups for organisitions of subjects.
routes
Routes for Axum.
server
Server functions for building Instrumentality.
subject
Subjects for organisation of profiles.
user
Basic user concepts for Instrumentality.
utils