Skip to content
Josh Earlenbaugh edited this page Nov 19, 2017 · 12 revisions

Here is where a representation of the routes and route-relations lives.


FrontEnd Routes:

  • /login
  • /signup
  • /feed - question feed/homepage/
  • /users/:userId - user profile
  • /questions/new - create a new question
  • /questions/:questionId - question show
  • /questions/:questionId/answers - question answers index
  • /questions/:questionId/answers/:answerId - question answer show
  • /questions/:questionId/answers/:answerId/comments - question answer comments index
  • /questions/:questionId/answers/:answerId/comments/:commentId - question answer comment show

API Endpoints:

  • users

    • GET api/user/:id - returns a user
  • questions

    • GET api/questions - returns the question information for the Question Search Feature
    • GET api/questions/:id - returns a question
    • POST api/questions - creates a question
    • PATCH api/questions/:id - edits a question
    • DELETE api/questions/:id - deletes a question
Clone this wiki locally