From 082706fe2f112dfd72a215a6042a34e01adaa3a3 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski <48144618+Braeden57@users.noreply.github.com> Date: Fri, 15 Jan 2021 10:28:15 -0800 Subject: [PATCH 1/2] Update issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..dd84ea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. 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 2/2] 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/)