This is the API backend for the pinthesky
console. In effect, this is a resource server
authenticated by an AWS Cognito User Pools.
Install the current directory:
python3 -m pip install -e .
pytest
Run the conventention analysis:
flake8
Obtain the latest archive to use for AWS Lambda deployment:
./dev.make-zip.sh | tail -1
The service is geared towards an AWS API Gateway V2 HTTP API. The surrounding infrastructure must support the following:
TABLE_NAME
: name of the DynamoDB Table resource to store thingsDATA_ENDPOINT
: AWS IoT data endpoint tied to the account