Files
2025-07-12 10:50:44 +03:00

21 lines
576 B
Markdown

GET api/auth/ -- get token
GET api/posts
GET api/posts/:id
GET api/profile/me
GET api/profile/user/:user_id
GET api/profile/github/:username
# PUT api/profile/experience
# PUT api/profile/education
# PUT api/posts/like/:id
# PUT api/posts/unlike/:id
POST api/users -- register user
POST api/auth/ -- login
# POST api/profile
# POST api/posts
# POST api/posts/comment/:id
DELETE api/profile -- delete everything the user has done
# DELETE api/profile/education/:exp_id
# DELETE api/posts/comment/:id/:comment_id
# DELETE api/profile/experience/:exp_id
# DELETE api/posts/:id