Skip to content

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

Notifications You must be signed in to change notification settings

moshfiqrony/facebook-group-api-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published