Crowd-source questions for a meetup. Questioner helps the meetup organizer prioritize questions to be answered. Other users can vote on asked questions and they bubble to the top or bottom of the log
This will give you what you need for the aplication to run locally
- python 3.7
- Postman
- Git
-
Clone this repository repo
-
Install a virtual environment this command is for windows
pip venv venv
-
Then you activate the virtual envirionmnet this is for windows
venv\Scripts\activate
-
To test the api in your local machine install the the reuirements file
pip install -r requirements.txt
-
To run the application run the
run.py
file
Then test all the endpoinst using POSTMAN
Method | Endpoint | Description |
---|---|---|
POST | /api/v2/auth/signup |
this endpoints registers a new user |
POST | /api/v2/auth/login |
this endpoints enables the user to login |
POST | /meetups |
this endpoint adds a new meetup |
GET | /meetups/<meetup_id> |
this endpoint gets a specific meetup |
GET | /meetups/upcoming/ |
this endpoint gets all upcoming meetups |
POST | /meetups/<meetup_id>/rsvp |
this questions create an rsvp response |
DELETE | /meetups/<meetup_id> |
this endpoint deletes a meetup |
POST | /questions |
this endpoints creates a new question |
GET | /questions |
this endpoints gets all questions |
PATCH | /questions/<question_id>/upvote |
this endpoint upvotes a question |
PATCH | /questions/<question_id>/downvote |
this endpoint downvotes a question |
POST | /comments/ |
this endpoints creates a new comment |
Teeka Elvis