Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2.25 KB

README.md

File metadata and controls

46 lines (38 loc) · 2.25 KB

Facebook Group API Clone

Node.JS Express.JS MongoDB Babel

License License

This is an API created using NodeJS, MongoDB, ExpressJS. Thi is a clone of facebook's group API

Table of contents

  1. Endpoints
  2. Topic I loved Most

Endpoints

  • Register an user - POST to /api/register
  • Login an user - POST to /api/login
  • Logout an user - POST to /api/logout
  • Get Logged in user info - GET to /api/user
  • Get Logged in user profile - GET to /api/user/profile
  • Update Logged in user profile - PUT to /api/user/profile
  • Create a group - POST to /api/group
  • Get all the groups - GET to /api/group
  • Get a group - GET to /api/group/pass_group_id_here
  • Update a group - PUT to /api/group/pass_group_id_here
  • Add Moderator to a group - PUT to /api/post/pass_group_id_here/moderator
  • Delete Moderator to a group - DELETE to /api/post/pass_group_id_here/moderator
  • Add admin to a group - PUT to /api/post/pass_group_id_here/admin
  • Delete admin to a group - DELETE to /api/post/pass_group_id_here/admin
  • Add member to a group - PUT to /api/post/pass_group_id_here/member
  • Delete member to a group - DELETE to /api/post/pass_group_id_here/member

Topic I loved Most

Here are the topics that I really loved about ExpressJS, Mongoose, NodeJS