From a9615cfe7345385f80fbdde222db6ffb238ea938 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski <48144618+Braeden57@users.noreply.github.com> Date: Wed, 20 Jan 2021 12:44:37 -0800 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ef799b8..c19bee7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ School Project This school project is for my teacher to have students log in and check out their XP and assignments. This website application is not available online, this is just a locally run website at our school. +To create a teacher, it must be done by a site admin. You'll need to create the site admin in the +database in a collection called `users` and set insert a document formatted as shown: +` +{ + "_id": your generated id, + "role": "Admin", + "name": your name, + "email": your email, + "password": your encrypted password +} +` ### Requirements : 1. [Node.js](https://nodejs.org/en/)