app.py file has flask code, api endpoints.
run python3 app.py to start the flask server on local host
test_flask_app.ipynb file has some example requests to test the endpoints.
setup_mongo.py file is added for reference of db, collection setup.
have used free mongo atlas to setup db so you can also test the code in working condition.
access_control is the db name , it has 3 collections organisations, permissions and users.
app.py has comments in endpoints to explain what the codes does