Questioner helps the meetup organizer prioritize questions to be answered.
Run npm install to install all necessary packages.
The following tools will be needed to run this application successfully:
- POST
/api/v1/meetupsCreate an meetup record. - GET
/api/v1/meetupsFetch all meetup records. - GET
/api/v1/meetups/upcoming/Fetch all upcoming meetup records. - GET
/api/v1/meetups/:meetupIdFetch a specific meetup record. - GET
/api/v1/meetups/user/statisticFetch a user Total Comments and Questions. - POST
/api/v1/meetups/:meetupId/rsvpsRespond to meetup RSVP. - GET
/api/v1/meetups/rsvpsGet a Single User RSVP. - POST
/api/v1/questionsCreate a question for a specific meetup. - GET
/api/v1/questionsFetch all questions. - GET
/api/v1/questions/topfeedFetches the top Questions of a User attending a Meetup. - GET
/api/v1/questions/:questionIdFetches a Single question with Comments Attached to it. - PATCH
/api/v1/questions/:questionId/upvoteUpvote (increase votes by 1) a specific question. - PATCH
/api/v1/questions/:questionId/downvoteDownvote (decrease votes by 1) a specific question. - POST
/api/v1/auth/signupCreate a user account. - POST
/api/v1/auth/loginLogin a user - POST
/api/v1/auth/adminLogin as an admin - POST
/api/v1/comments/Comment on a question. - GET
/api/v1/comments/:questionId/Comment on a question. - DELETE
/api/v1/meetups/:meetupIdDelete a meetup. - GET
/api/v1/docsApi Documentation.
- Pull the develop branch off this repository
- Install postgreSql 11 on your local machine or registered on any online platform
- Rename the sample.env file to .env and input the right configurations
- Run
npm ito install all dependencies - Run
npm databaseto create the database tables and create an admin - Run
npm startto start the app - The Admin is required to login with the data in the now .env file
- App runs on port 3000
- Access endpoints on
localhost:3000
Run npm test in the terminal for the cloned folder.
- It tests the API end-point.
- It tests the REST API functionality
https://questioner1.herokuapp.com/api/v1
https://openwell.github.io/questioner/UI
- Node.js - Runtime-Environment
- Ojo Timileyin
- Web Developerment Youtuber
- StackOver-Flow
- The Andela Organisation
- Udemy.com
- Andela 21 Colleagues