This is a fastapi service that can be a standalone webapp using the static html in the 'static' direcotry or use the API endpoints to make this a solely backend service.
It also contains IaC found in the terraform directory - this will deploy the image on AWS Fargate and make the API endpoints available over http.
docker compose up
make dev
cd terraform
terraform init
terraform apply
Not yet working
- Add stripe secret key to .env
- Alter populatedb function in helpers with your own stripe products
-
As this is a PoC, there was no tests written so writing some mock api tests is needed.
-
Cleanup main.py, some dead endpoints and minimal error handling
-
Get CDK to work
-
Include frontend deployment with terraform main.tf