Skip to content

imranwebdeveloper/atg-world-server

Repository files navigation

# Social Media REST API Project build on

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

Base URL link : https://atg-server.onrender.com

API endpoints

Purpose Method Required in Body Required Headers Endpoints
To get all posts GET - /posts
Create a new User POST name, email, password /user/register
To login POST email, password /user/login
To reset password PUT email, newPassword /user/reset
To create a new post POST post user = userId /user/post
To update post POST post user = userId /user/post/:id
To delete a post DELETE user = userId /user/post/:id
To like a post POST user = userId /user/post/like/:id
To comment a post POST comment user = userId /user/post/comment/:id
To see all comment of a post GET user = userId /user/post/comment/:id

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published