Mauve Server
FastAPI Mauve Server with MongoDB
Deployed: https://mauve-server-2020.herokuapp.com
GitHub: https://github.com/tanwinn/pearlhacks_server
Submission of Pearlhacks2020
Dev setup
git clone git@github.com:tanwinn/mauve_api.git
cd mauve_api
pipenv shell # activate venv
pipenv sync # sync the dependencies packages
Dev framework
pytest
bc fmt # formatting
prospector # linting TODO: fix bc config linting
Download MongoDB Server Or connect to the MongoDB Cluster Atlas
.env file
MONGO_CONN_STR=mongodb+srv://mauve:<PASSWORD>@cluster0-kz2za.mongodb.net/test?retryWrites=true&w=majority
Make sure to reset the pipenv shell to apply the change
Run the App
uvicorn api.main:app --reload # Run the app
WIP
- Package setup
- Test plugins?