In this project i have created an api in which the user can add,remove,view questions and add options to that questions and in options you can add votes to it
|-- index.js
|-- package-lock.json
|-- package.json
|-- config
| |-- mongoose.js
|-- controllers
| |-- api
| |-- v1
| |-- homeController.js
| |-- optionsController.js
| |-- questionsController.js
|-- model
| |-- option.js
| |-- question.js
|-- routes
|-- index.js
|-- api
|-- index.js
|-- v1
|-- index.js
|-- options.js
|-- questions.js
localhost:7000/api/v1
localhost:7000/api/v1/questions/create
localhost:7000/api/v1/options/:id/options/create
localhost:7000/api/v1/options/:id/addvotes
localhost:7000/api/v1/questions/:id/delete
NodeJs
MongoDB
Express