git clone [email protected]:realvaibhav/Identity-Access-Management.git
cd identity-access-management
pip3 install -r requirements.txt
- Setup and run mongo server
- Update the .env variables
- Run
uvicorn main:app --reload
![db]
- https://${BASE_URL}
- https://${BASE_URL}/user/
{
"name": "vaibhav",
"email": "[email protected]"
}
- https://${BASE_URL}/user/6449157fbc73adf705e6c418
- https://${BASE_URL}/user/?email=realvaibhav
- https://${BASE_URL}/user/6449157fbc73adf705e6c418/organisations?limit=10&offset=0
- https://${BASE_URL}/organisation/
{
"name": "My App"
}
- https://${BASE_URL}/organisation/644917edbc73adf705e6c419
- https://${BASE_URL}/organisation/?name=My%20App
- https://${BASE_URL}/organisation/644917edbc73adf705e6c419/users?limit=10&offset=0
- https://${BASE_URL}/organisation/?limit=10&offset=0
- https://${BASE_URL}/permissions/644917edbc73adf705e6c419
[
"6449157fbc73adf705e6c418", "6449123dbc73adf705e6c417"
]
- https://${BASE_URL}/permissions/644917edbc73adf705e6c419?access_level=READ
[
"6449157fbc73adf705e6c418", "6449123dbc73adf705e6c417"
]
- https://${BASE_URL}/api/permissions/644917edbc73adf705e6c419
[
"6449157fbc73adf705e6c418", "6449123dbc73adf705e6c417"
]