Skip to content
Manni Melgoza edited this page Jul 11, 2025 · 13 revisions

BackEnd Flask API Routes

For more detailed information BackEndAPI_Dcoumentation

👤 Users

Sign-up a user

POST: /singup

Log-in a user

POST: /login

Logout

DELETE: /logout


✉️ POST

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


🤝 Follows

Who the users is following

GET: /follows

Follow a user

POST: /:user_id

Unfollow a user

DELETE: /:user_id


❤️ Likes

Get all Liked posts

GET: /likes

Like a post

POST: /:post_id

Delete like post

DELETE: /:post_id


💬 Comments

Get all comments

GET: /comments

Edit comment

POST: /comments/:post_id

Delete comments

DELETE: /comments/:post_id

Clone this wiki locally