freechat/server
shockrah 1e1b9d4f72 changed model fields to pub
struct Invite now insertable
2020-02-05 16:31:26 -08:00
..
migrations migrations reflecting previous commit's schema 2020-02-05 14:17:25 -08:00
scripts live reloading added to backends website sass 2019-11-27 22:39:08 -08:00
src changed model fields to pub 2020-02-05 16:31:26 -08:00
static favicon 2019-11-27 23:40:47 -08:00
templates defaults are coded directly into templates 2020-01-29 23:25:18 -08:00
.env sample db things and updated invites table structure to allow for greater entropy pools 2020-02-04 00:44:55 -08:00
.gitignore ignoring dev files for sql server 2019-12-01 21:53:07 -08:00
Cargo.lock fixed incorrect dep from diesel_sqlite_pool to diesel_mysql_pool 2020-02-05 13:32:36 -08:00
Cargo.toml update db url from rocket config 2020-02-05 16:29:42 -08:00
Config.toml moved goalposts LULW 2019-11-12 11:19:44 -08:00
diesel.toml diesel config 2019-12-02 13:48:14 -08:00
Makefile live reloading added to backends website sass 2019-11-27 22:39:08 -08:00
readme.md docs for server-api 2019-11-10 16:31:32 -08:00
Rocket.toml update db url from rocket config 2020-02-05 16:29:42 -08:00
todo.md adding some todos for the server 2019-11-27 22:46:18 -08:00

API

This api operates on a per instance/world basis ergo we only concern ourselves with the same concerns as a typical server.

Language

  • Instance/World/Realm are going to be used interchangably

Endpoints::World

  • auth - verifies a user is in fact part of that instance/world in some way

  • register - base for creating a new user registered through this domain

  • unlist - remove user from that domain's registry

  • join - adds user to a member registry in that world; for users that come from other hubs