Backend API for busybe app
Ensure you have Python installed, preferably version >= 3.12.x
brew install python
python --versionpython -m venv venv
source venv/bin/activatepip install -r requirements.txtuvicorn service.app:app --reload --host 0.0.0.0 --port 8080Running Tests
pytestInstall local pre-commit hook
pip install pre-commit
pre-commit installInstall commit-msg hook
pre-commit install -t commit-msgRun manually on all files
pre-commit run --all-filesWe are using swagger to document the api's
On running locally server you will find the swagger page here:
- swagger http://localhost:8080/docs
- redoc http://localhost:8080/redoc