clone repo and create a .env file, in which you will have to add the following
- HTTP_PORT=<your_http_port>
- API_ACCESS_TOKENS=<access_token> (note that to add several access token, seperate by comma)
- this is the postman documentation for the API
The challenge is to create a small API for a quiz app where users can create and attempt quizzes. The users should also be able to see some basic stats about their quiz attempts.
There are no front-end requirements for this task.
- Create a new repository under your GitHub account.
- Complete an implementation for this challenge inside your repository.
- When done, send us a link to your repository.
- This challenge must be completed using Node.js and MongoDB.
- The final result must be a GitHub repository with your challenge solution.
- Users can create an account
- Users can create their own quiz with multiple questions & answers.
- Users cannot manipulate other users' quiz templates.
- Users can attempt other users' published quizzes as many times as they choose.
- Users can view basic stats on quiz attempts/completion/scores/etc..
- Quizzes must contain at least 1 question and should support varying numbers of questions.
- Questions must have a non-empty question and a non-empty answer
- Each submitted quiz should have it's questions marked correct or incorrect based on the predefined answers.
The goal of this challenge is to gain an understanding of the candidate's problem solving processes, basic understanding of required technologies, and how they approach common, real-world issues any developer may face.
- Going that extra mile on any aspect of the app
Should you have any questions - please don't hesitate to ask.