- Implemented all the endpoints mentioned in the assignment.
- I am working on the
Brownie Points
, I am not able to complete theseBrownie Points
within these 3 days because I am on vacation (Christmas and New Year vacation).
- Clone this repo
- Execute these command:
npm install
andnpm start
This document lists all the API endpoints for the SaaS platform.
- Create Role
- URL:
POST /v1/role
- URL:
- Get All Roles
- URL:
GET /v1/role
- URL:
- User Sign Up
- URL:
POST /v1/auth/signup
- URL:
- User Sign In
- URL:
POST /v1/auth/signin
- URL:
- Get User Information
- URL:
GET /v1/auth/me
- URL:
- Create Community
- URL:
POST /v1/community
- URL:
- Get All Communities
- URL:
GET /v1/community
- URL:
- Get All Members of a Community
- URL:
GET /v1/community/:id/members
- URL:
- Get Communities Owned by User
- URL:
GET /v1/community/me/owner
- URL:
- Get Communities Joined by User
- URL:
GET /v1/community/me/member
- URL:
- Add Member to Community
- URL:
POST /v1/member
- URL:
- Remove Member from Community
- URL:
DELETE /v1/member/:id
- URL: