The serverless backend API which assists in computation for EVETrade.space.
It has 2 components:
- The core API which is a bundled and deployed AWS Lambda function
- The event driven lambdas which are deployed on AWS Lambda and are triggered by events (time or SQS)
- Python 3.12
- Poetry
- Environment Variables (see .env.example)
- NodeJS 16.x (for event driven lambdas only) ** Soon to be refactored
- In the future will dockerize the entire API stack to allow for easier local development
Install dependencies:
poetry install --syncActivate the virtual environment:
poetry shellRunning tests:
pytestRunning tests to include coverage report:
pytest --cov=api --cov-report term-missing --cov-report=xml