Update readme with to-do checklist

pull/5/head
~erin 2021-07-17 15:52:52 -04:00
parent 595af0d0f5
commit a7606709f8
Signed by: erin
GPG Key ID: DA70E064A8C70F44
1 changed files with 13 additions and 0 deletions

View File

@ -12,3 +12,16 @@ Send it the unhashed username and pin, and it'll store it in the `users.json` fi
`GET /api/users/<name>/<pin>` Check if the user exists, and if the pin provided matches
`POST /api/users/change/<name>/<pin>/<new-name>/<new-pin>` 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