-
Notifications
You must be signed in to change notification settings - Fork 0
BackEnd API Routes
Manni Melgoza edited this page Jul 11, 2025
·
13 revisions
BackEnd Flask API Routes
For more detailed information BackEndAPI_Dcoumentation
Sign-up a user
POST: /singup
Log-in a user
POST: /login
Logout
DELETE: /logout
Get all posts
GET: /
Edit Post from an id
POST: /username/:post_id
Create a post
POST: /username/new_post
Delete post by id
DELETE: /username/:post_id
Who the users is following
GET: /follows
Follow a user
POST: /:user_id
Unfollow a user
DELETE: /:user_id
Get all Liked posts
GET: /likes
Like a post
POST: /:post_id
Delete like post
DELETE: /:post_id
Get all comments
GET: /comments
Edit comment
POST: /comments/:post_id
Delete comments
DELETE: /comments/:post_id