{"id":25732522,"url":"https://github.com/siyer2/sam-express-template","last_synced_at":"2026-04-20T10:03:23.567Z","repository":{"id":116747963,"uuid":"590236039","full_name":"Siyer2/sam-express-template","owner":"Siyer2","description":"A simple template that allows you to use Typescript Express to create a serverless REST API","archived":false,"fork":false,"pushed_at":"2023-01-18T00:36:20.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T15:47:32.214Z","etag":null,"topics":["aws","express","rest-api","sam","serverless","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Siyer2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2023-01-18T00:05:41.000Z","updated_at":"2023-01-18T00:35:15.000Z","dependencies_parsed_at":"2023-03-17T11:45:47.465Z","dependency_job_id":null,"html_url":"https://github.com/Siyer2/sam-express-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Siyer2/sam-express-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siyer2%2Fsam-express-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siyer2%2Fsam-express-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siyer2%2Fsam-express-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siyer2%2Fsam-express-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siyer2","download_url":"https://codeload.github.com/Siyer2/sam-express-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siyer2%2Fsam-express-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","express","rest-api","sam","serverless","typescript"],"created_at":"2025-02-26T03:46:33.505Z","updated_at":"2026-04-20T10:03:23.551Z","avatar_url":"https://github.com/Siyer2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAM Express template\n\nThis is a simple template that allows you to create a Typescript Express REST API and deploy it AWS Lambda and API Gateway.\n\n## Benefits\n\n- Use traditional Express syntax (e.g. `app.get(\"/hello\"...`) rather than having a `handler` per endpoint like [this](https://github.com/aws/aws-sam-cli-app-templates/blob/master/nodejs18.x/hello-ts/%7B%7Bcookiecutter.project_name%7D%7D/hello-world/app.ts)\n\n  - Makes it easier to migrate to Dockerise (useful if you wanted to migrate to ECS)\n  - Simplifies local development\n\n- Built with [esbuild](https://esbuild.github.io/) (billed as being 10-100x faster than other build tools)\n\n## Running it locally\n\n```\n$ cd src\n$ npm install\n$ npm start\n```\n\n### Running it locally with SAM\n\n(AWS SAM can be installed [here](https://aws.amazon.com/serverless/sam/))\n\nYou can also run it locally to _exactly_ match the configuation in the template.yml (e.g. to make it adhere to the set timeout, memory limit etc.)\n\n```\n$ sam build\n$ sam local start-api\n```\n\n## Deploying it\n\n```\n$ sam build\n$ sam deploy --guided\n```\n\nFollowing a successful deployment, the endpoint URL will get printed in the terminal.\n\nNote: When doing `--guided`, you can follow the instructions. It will store your preferences in a `samconfig.toml` so you can just do a `sam deploy` in the future.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiyer2%2Fsam-express-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiyer2%2Fsam-express-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiyer2%2Fsam-express-template/lists"}