alexa-skillz / alexa-interview-overflow

Gathering user-generated interview questions and answers for our Alexa interview skill(s). Mongo, Express, Node. (Authors: Team)
https://alexa-interview-overflow.herokuapp.com/
MIT License
2 stars 1 forks source link

Question Routes - Complete #21

Closed b-d-johnson closed 7 years ago

b-d-johnson commented 7 years ago

Updated README to operate all routes with HTTPie.

Added Travis, Coveralls, and Dependencies badges to README.

You don't need to be authenticated to GET all the questions or GET a specific question.

You do need to be authenticated to PUT, POST, or DELETE any questions.

The following routes are complete:

/questions

GET /questions

Route for questions resource (list view)

POST /questions

Route for creating questions

/questions/:questionID

GET /questions/:questionID

Route for a specific question (detailed view)

PUT /questions/:questionID

Route for updating a specific question (detailed view)

DELETE /questions/:questionID

Route for deleting a specific question (detailed view)

Next up: Tests for questions route.

peterkim2 commented 7 years ago

💯 👍