{"id":16542548,"url":"https://github.com/jordaneremieff/mangum-template","last_synced_at":"2026-05-07T23:04:43.634Z","repository":{"id":89251415,"uuid":"484997951","full_name":"jordaneremieff/mangum-template","owner":"jordaneremieff","description":"A template for developing ASGI-compatible apps deployed to AWS Lambda.","archived":false,"fork":false,"pushed_at":"2022-04-25T13:15:28.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T10:19:18.043Z","etag":null,"topics":["asgi","aws-lambda","fastapi","mangum","python","quart","starlette"],"latest_commit_sha":null,"homepage":"https://github.com/jordaneremieff/mangum-template","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jordaneremieff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-24T10:41:17.000Z","updated_at":"2024-02-20T18:04:10.000Z","dependencies_parsed_at":"2023-07-25T18:30:57.536Z","dependency_job_id":null,"html_url":"https://github.com/jordaneremieff/mangum-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordaneremieff%2Fmangum-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordaneremieff%2Fmangum-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordaneremieff%2Fmangum-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordaneremieff%2Fmangum-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordaneremieff","download_url":"https://codeload.github.com/jordaneremieff/mangum-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241794138,"owners_count":20021192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asgi","aws-lambda","fastapi","mangum","python","quart","starlette"],"created_at":"2024-10-11T18:57:53.490Z","updated_at":"2026-05-07T23:04:38.613Z","avatar_url":"https://github.com/jordaneremieff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mangum-template\n\nThis is a template for developing [ASGI](https://asgi.readthedocs.io/en/latest/)-compatible Python web apps deployed to [AWS Lambda](https://aws.amazon.com/lambda/). It uses [Mangum](https://github.com/jordaneremieff/mangum) to adapt AWS Lambda events for an example [FastAPI](https://github.com/tiangolo/fastapi) app.\n\n# Usage\n\n- Create an AWS Lambda function with the handler set to `lambda_handler.handler`.\n  \n- Add your `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` secrets to the GitHub project settings.\n  \n- Change the values of `AWS_REGION` and `LAMBDA_FUNCTION` under the `env` section in the `.github/workflows/deploy.yml` file.\n\n- Push a commit to `main` to run the deployment workflow.\n\n# Testing\n\n- Create a local Python virtual environment.\n\n    `python -m venv .venv`\n- Activate the virtual environment.\n\n    `. .venv/bin/activate`\n- Install the dev requirements.\n\n    `python -m pip install requirements/dev.txt`\n\n- Run the tests using `pytest`:\n\n    `python -m pytest`\n\nThe test settings can be adjusted in the `pyproject.toml` file.\n\n# Notes\n\nThe structure of the project and choice of FastAPI as the application framework in this template are just one example and could be substituted with alternative layouts and ASGI frameworks.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordaneremieff%2Fmangum-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordaneremieff%2Fmangum-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordaneremieff%2Fmangum-template/lists"}