Skip to content

AWS-like serverless on LocalStack (S3 → Lambda → DynamoDB) with unit + integration tests and GitHub Actions CI. No cloud account needed.

License

Notifications You must be signed in to change notification settings

mariano-tp/aws-serverless-local-demo

ci last commit release license: MIT stars

AWS Serverless Local Demo

Serverless AWS-like demo without a cloud account. Test the S3 → Lambda → DynamoDB flow locally with LocalStack and CI in GitHub Actions (unit + integration).

CI

  • Spins up LocalStack as a service (S3, SQS, DynamoDB).
  • Bootstraps resources: bucket + queue + S3→SQS notification + DDB table.
  • Runs a test that uploads an object, consumes the SQS event, and persists it in DDB.

Run 100% online

  1. Push this repo to GitHub.
  2. Go to Actions → ci → Run workflow.
  3. The workflow should turn green.

Run locally (optional)

docker compose up -d
export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test AWS_DEFAULT_REGION=us-east-1
pytest -q

Structure

.
├── .github/workflows/ci.yml
├── docker-compose.yml
├── requirements.txt
├── requirements-dev.txt
└── tests/
    └── integration/
        └── test_flow_localstack.py

Credits

Portfolio repository by @mariano-tp. Licensed under MIT.

See also: Code of Conduct · Contributing · Security

About

AWS-like serverless on LocalStack (S3 → Lambda → DynamoDB) with unit + integration tests and GitHub Actions CI. No cloud account needed.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages