This app is part of a more sophisticated app working with a Microservice architecture.
The app, still in progress, is a Quiz Creator Tool (modelled around TypeForm), and does the following:
- ADMIN
- can signup and login as admin (with authentication and authorization)
- can create a new quiz
- can add questions and answers
- can edit and delete the quizzes
- can see all the responses and quiz score
- thanks to webhooks, can add a url to display the quiz results
- USER/STUDENT
- can signup and login as user (with authentication and authorization)
- can take the quiz
- can see its results and score
Specifically, this repo contains the backend for the users. It has an endpoint to GET all users, GET a specific user by id, POST a new user, PUT and DELETE users. When a user signes up, password is hashed using bcrypt. It also validates if the user signing up is a teacher or student.
- clone this repo
- cd into /src
- run yarn install
- run tsc or tsc -w
- run node . or nodemon .
- happy hacking! 👌
- Finish the Quiz app
- Refactor