FOSS Decentralized chat platform
![]() + new() -> create a new ready to insert invite + from_tuple -> helps us translate db responses into a struct + as_json_str -> String which we can use as a json payload(jank but whatever it works with proper headers) FUnctions: get_invite_by_code: as the name implies grabs an invite assuming its in our db otherwise None record_invite_usage: blindly modifies the row in the schema, assumes that if we get to this point we're ok to ignore erroneous possibilities join_invite_code: main dispatcher for joining using the /invite/join route create_invite: meant to the be the route handler for creating invites later on Needed: test module since we've basically reworked the whole auth/invite system in one day |
||
---|---|---|
docs | ||
freechat-client | ||
server | ||
.gitignore | ||
design.md | ||
Makefile | ||
readme.md |
FreeChat
Decentralizaed chat platform
Currently in a state of design and not implementation. I.E. there's still massive amounts of groundwork that need to be reasoned about before it can be built.