- Python3, Pulumi, Helm, Docker, AWS cliv2
git clone https://github.com/eugenestarchenko/crypto-api-demo.git
make install
or
make all
make run
make test
docker-compose up -d --build
docker-compose exec api pytest .
http://127.0.0.1:8000/docs
Read INFRA to prepare app infrastructure.
After EKS is up and running use helm chart to setup crypto-api-demo
cd $PWD/chart
helm install crypto-api-demo .
helm upgrade crypto-api-demo .
API is currently running on EKS.
ALB endpoint for testing purposes only http://k8s-default-cryptoap-e3b7b4884b-375603982.us-east-1.elb.amazonaws.com/docs
curl -X 'GET' \
'http://k8s-default-cryptoap-e3b7b4884b-375603982.us-east-1.elb.amazonaws.com/v1/currency?ticker=CAD' \
-H 'accept: application/json'
- Extend unit tests / infra tests
- Include a
/metrics
endpoint - Setup RBAC and Github Actions Helm action for deployment
- Run self hosted GA runners for CI/CD on EKS