Project to expose behavioural metrics stored in Mongo on a fastapi-api based API.
This project is based on a Python 3.12 implementation and uses Poetry to manage packages.
- Ensure you have pipx installed. This ensures isolated packages for tools such as Poetry. See pipx on Github
- Install poetry (suggested via pipx to keep poetry isolated in its own environment)
- Clone this repo locally or on your server.
- In this repo directory, initialize the environment, installs and shell by running the following (note this is dependent on poetry being installed):
poetry install
poetry shell
- Your virtual enviroment should now be activated with all dependencies.
The planned route is JWT for API auth.
- https://medium.com/@miladev95/fastapi-crud-with-mongodb-d7a8fbb8c53e
- https://www.mongodb.com/developer/languages/python/python-quickstart-fastapi/
- https://www.freecodecamp.org/news/how-to-build-and-publish-python-packages-with-poetry/
- https://medium.com/@caetanoog/start-your-first-fastapi-server-with-poetry-in-10-minutes-fef90e9604d9
- https://fastapi.tiangolo.com/