Control user access to your application or any versioned file/link.
This project is licensed under the terms of the Apache license.
A mongo database is required to run the server. Get one from MongoDB Atlas, for free.
pip install -r requirements.txt
uvicorn app.main:app --reload
python -m pytest -W ignore::DeprecationWarning
pytest --cov=app --cov-report=html
python -m pytest_watch
Configure the location of your MongoDB database in a .env file:
MONGO_URL="mongodb+srv://<username>:<password>@<url>/<db>?retryWrites=true&w=majority"
BUCKET_NAME="configzero-jsonzilla"
Need to create a user at database to run the server:
mongo <db> --eval "db.users({username: '<username>', password: '<bcrypt_password>', email: '<email@email>'});"
To see the Swagger documentation, visit: http://localhost:8000/docs
To see the documentation, visit:
- Automated tests
- S3 is not yet implemented. https://boto3.amazonaws.com/v1/documentation/api/latest/guide/s3-presigned-urls.html