Backend Routes - HelloPancake/Groove GitHub Wiki

Users

* Get /api/users/:id user profile
* Post /api/users  sign up a new user

Session

* POST /api/session sign in user
* DELETE /api/session sign out user

Posts

* GET /api/posts returns all Posts
* GET /api/posts/:post_id returns a specific post
* POST /api/posts create post
* PATCH /api/posts/:id edit post
* DELETE /api/posts/:id deletes post

Notes

* GET /api/posts/:post_id/notes gets notes
* POST /api/posts/:post_id/notes creates notes
* PATCH /api/notes/:id edit note
* DELETE /api/notes/:id deletes note

likes

* POST /api/posts/:post_id/likes like a post
* DELETE /api/posts/:post_id/likes unlike a post

follows

*POST /api/users/:followee_id/follows follow a user
*DELETE /api/users/:followee_id/follows unfollow a user