API Documentation Link: https://documenter.getpostman.com/view/27270041/2s93eYTWiy
Hosting Link: https://polling-system-api-h7wm.onrender.com
- NodeJS
- ExpressJS
- MongoDB
- Mongoose
- Create a question
- Add options to a question
- Add a vote to an option of question
- Delete a question
- Delete an option
- View a question
- To create a question :- http://localhost:8000/question/create
- To add options to a specific question :- http://localhost:8000/question/options/:QuesID/create
- To view a question and it’s options :- http://localhost:8000/question/view/:QuesID
- To increment the count of votes :- http://localhost:8000/options/:OptionID/add_vote
- To delete an option :- http://localhost:8000/options/delete/:OptionID
- To delete a question :- http://localhost:8000/question/delete/:QuesID