From a7606709f8e2061b6c0872e202ad281998d7ecc8 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 17 Jul 2021 15:52:52 -0400 Subject: [PATCH] Update readme with to-do checklist --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index af04152..aac5071 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,16 @@ Send it the unhashed username and pin, and it'll store it in the `users.json` fi `GET /api/users//` Check if the user exists, and if the pin provided matches `POST /api/users/change////` Change a users pin/name + +## Chat Planning + +Clientside js will register & check login of users, if login is correct will ask for a random token. +Backend will generate token, store it, and then send it to the client to set as a cookie. +Whenever user sends a message, client will send message & token and backend will check if token matches. + +## To-Do: + +- [x] Basic auth api +- [ ] Basic messaging system +- [ ] Token generation & storage +- [x] Pronouns