Q. Create Quiz Game APIs in in Node JS using Express.
- User can register and login in the system.
A verification link will be sent when user register and only if email is verified then user can login.
- Pasword must not be stored as plain text.
- Only Admin can add question. Restrict normal users to add questions.
- Display result when user submits answers.
- Only logged in users can submit quiz answers.
- Use Express folder structure
Modules that will be used
- services
- middleware
Modules that will be used
- express-mailer/nodemailer : To send Email
- bcrypt : To store hash of the password