From 76039f65cff4e7c578e631555475a3b6b9f2e2f0 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Fri, 16 Jul 2021 14:33:17 -0400 Subject: [PATCH] Add more info to readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index da039ab..af04152 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# Registration api system +# Chat Registration System + +The basic backend code needed to register & login to a chat system (to be built). +Send it the unhashed username and pin, and it'll store it in the `users.json` file with the pin hashed with SHA1. + +## API Documentation + `POST /api/register//` Register the username with the pin provided if it doesn't already exist `GET /api/users/` Check if the user exists