A simple quiz app
It may take few seconds to run api after 30 min of inactivity
https://enigmatypescript.netlify.app/
client:
npm install
npm start
server:
npm install
npm run start
To run this project, you will need to add the following environment variables to your .env file
ATLAS_URI
GET /api/questions
POST /api/create/question
Parameter | Description | Authentication |
---|---|---|
id |
Required. Id of item to fetch | required |
POST /api/deletequestion
Parameter | Description | Authentication |
---|---|---|
id |
Required. Id of question to delete | required |
POST /user/login
GET /user/logout
GET /user/user
GET /user/getallusers
Authentication |
---|
required |
POST /user/deleteuser
Parameter | Description | Authentication |
---|---|---|
id |
Required. Id of user to delete | required |