freechat/server
shockrah 99507302f9 Removing api tests form members mod as those are done with curl in tests/
Base member creation being added in this commit notes to follow

struct Member has had its field types changed to db_types::* types
Member::to_json was added to support simple json serialization into responses
struct InsertableMember added because `id` is generated by SQL for us
- this means we have to do two queries 1 to insert and 2 to fetch
- mysql_async does not provide an inlined way of fetching a recently added row

func general_new_user is only checking for a `name`parameter
- falls back to a basic default name for those that don't set a name on jooin
- handles its  own sub errors so the main dispatcher doesn't care about after move
2020-07-13 21:59:28 -07:00
..
invites-manager adding base for invite manager microservice 2020-07-04 19:38:09 -07:00
migrations adding secret as a primary key in members table 2020-07-13 19:39:35 -07:00
src Removing api tests form members mod as those are done with curl in tests/ 2020-07-13 21:59:28 -07:00
tests more testing for channel list 2020-07-13 21:41:04 -07:00
.env minor config change for development 2020-03-07 16:07:26 -08:00
.gitignore ignoring dev files for sql server 2019-12-01 21:53:07 -08:00
Cargo.lock New testing lib for testing async functionality 2020-07-12 17:33:05 -07:00
Cargo.toml New testing lib for testing async functionality 2020-07-12 17:33:05 -07:00
readme.md New smol note regarding state of API server 2020-05-27 20:59:17 -07:00
todo clarified goals 2020-03-17 21:34:43 -07:00

Freechat API

Built with rocket this API lets client apps query the server for data like recent messages channels in a server.

What's Being worked on

Authorization model has been implemented and is now being integrated with endpoints where required. Not all endpoints require authentication but really those are more like exceptions rather than the rule as most of this API is behind some kind of authentication.