FOSS Decentralized chat platform
Go to file
shockrah dd3bbeabd8 InviteRow structure has some methods listed below:
+ 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
2020-06-02 03:44:33 -07:00
docs note regarding badges ready for actual badges notes 2020-05-26 02:40:29 -07:00
freechat-client changing initial screen to be a welcome page/nav page to other servers 2020-04-17 22:59:54 -07:00
server InviteRow structure has some methods listed below: 2020-06-02 03:44:33 -07:00
.gitignore sass things being added to project 2019-11-10 22:25:37 -08:00
design.md smol goals for now 2019-11-24 20:10:39 -08:00
Makefile updated path to client in main controller 2019-11-27 15:20:10 -08:00
readme.md updated readme to reflect state of repo 2019-11-04 12:22:22 -08:00

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.