7ylerkoh/Interest

Backend Routes

Opened this issue · 0 comments

Backend Routes

  • Contains the following sections: HTML, API Endpoints(Backend)
  • Each route has a description
  • API Endpoint routes contains wildcard variables written in snake_case
  • Routes does not contain superfluous routes
  • Have API routes that will allow the front end to get all info it needs and does not have unneeded routes:
    • probably doesn't need a GET likes api endpoint because that info comes through the post show

Comments

  • User signup should not be a 'GET' request
  • If all saved content is just all of the posts, it would make more sense to have backend routes to posts. saved isn't anywhere in your schema or state, so it might be better to keep consistency in your naming conventions.
  • no routes for boards or posts