{"id":19204351,"url":"https://github.com/jmbl1685/aws-lambda-typescript","last_synced_at":"2026-05-14T08:42:35.408Z","repository":{"id":134055846,"uuid":"137307490","full_name":"jmbl1685/aws-lambda-typescript","owner":"jmbl1685","description":"AWS Lambda/CloudWatch with Typescript + Serverless Framework","archived":false,"fork":false,"pushed_at":"2022-08-03T21:20:34.000Z","size":128,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T14:42:15.247Z","etag":null,"topics":["aws","aws-lambda","serverless-framework","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/jmbl1685.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}},"created_at":"2018-06-14T04:50:36.000Z","updated_at":"2023-03-04T05:22:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"a837adeb-1e8b-4844-98e2-d06c3b2c0df8","html_url":"https://github.com/jmbl1685/aws-lambda-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbl1685%2Faws-lambda-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbl1685%2Faws-lambda-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbl1685%2Faws-lambda-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmbl1685%2Faws-lambda-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmbl1685","download_url":"https://codeload.github.com/jmbl1685/aws-lambda-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240275908,"owners_count":19775615,"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":["aws","aws-lambda","serverless-framework","typescript"],"created_at":"2024-11-09T13:07:31.949Z","updated_at":"2026-05-14T08:42:30.384Z","avatar_url":"https://github.com/jmbl1685.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-lambda-typescript\n\nAWS lambda with Typescript + Serverless Framework\n\nInclude: Basic HTTP Sample (GET), Basic CRON SCHEDULE/JOB\n\n  - To run local\n  \n```\nnpm run dev\n```\n - Console successful results:\n \n ```sh\n \u003e aws-lambda-typescript@1.0.0 dev\n\u003e nodemon --config nodemon.json\n\n[nodemon] 2.0.19\n[nodemon] to restart at any time, enter `rs`\n[nodemon] watching path(s): src\\**\\*\n[nodemon] watching extensions: ts\n[nodemon] starting `serverless offline start`\nCompiling with Typescript...\nTypescript compiled.\nWatching typescript files...\n\nStarting Offline at stage dev (us-east-1)\n\nOffline [http for lambda] listening on http://localhost:3002\nFunction names exposed for local invocation by aws-sdk:\n           * sample: aws-lambda-typescript-dev-sample\n\n   ┌──────────────────────────────────────────────────────────────────────────┐\n   │                                                                          │\n   │   GET | http://localhost:3000/                                           │\n   │   POST | http://localhost:3000/2015-03-31/functions/sample/invocations   │\n   │                                                                          │\n   └──────────────────────────────────────────────────────────────────────────┘\n\nServer ready: http://localhost:3000 🚀\n\nEnter \"rp\" to replay the last request\n\n ```\n\n - To deploy:\n\n```\nnpm run deploy\n```\n\n - Console successful results:\n\n```sh\n\u003e aws-lambda-typescript@1.0.0 deploy\n\u003e serverless deploy --verbose\n\nDeploying aws-lambda-typescript to stage dev (us-east-1)\n\nPackaging\nCompiling with Typescript...\nTypescript compiled.\nExcluding development dependencies for service package\nRetrieving CloudFormation stack\nCreating CloudFormation stack\n  CREATE_IN_PROGRESS - AWS::CloudFormation::Stack - aws-lambda-typescript-dev\n  CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket\n  CREATE_IN_PROGRESS - AWS::S3::Bucket - ServerlessDeploymentBucket\n  CREATE_COMPLETE - AWS::S3::Bucket - ServerlessDeploymentBucket\n  CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy\n  CREATE_IN_PROGRESS - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy\n  CREATE_COMPLETE - AWS::S3::BucketPolicy - ServerlessDeploymentBucketPolicy\n  CREATE_COMPLETE - AWS::CloudFormation::Stack - aws-lambda-typescript-dev\nUploading\nUploading CloudFormation file to S3\nUploading State file to S3\nUploading service aws-lambda-typescript.zip file to S3 (98.19 kB)\nUpdating CloudFormation stack\n  UPDATE_IN_PROGRESS - AWS::CloudFormation::Stack - aws-lambda-typescript-dev\n  CREATE_IN_PROGRESS - AWS::Logs::LogGroup - SampleLogGroup\n  CREATE_IN_PROGRESS - AWS::ApiGatewayV2::Api - HttpApi\n  CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution\n  CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution\n  CREATE_IN_PROGRESS - AWS::Logs::LogGroup - SampleLogGroup\n  CREATE_COMPLETE - AWS::Logs::LogGroup - SampleLogGroup\n  CREATE_IN_PROGRESS - AWS::ApiGatewayV2::Api - HttpApi\n  CREATE_COMPLETE - AWS::ApiGatewayV2::Api - HttpApi\n  CREATE_IN_PROGRESS - AWS::ApiGatewayV2::Stage - HttpApiStage\n  CREATE_IN_PROGRESS - AWS::ApiGatewayV2::Stage - HttpApiStage\n  CREATE_COMPLETE - AWS::ApiGatewayV2::Stage - HttpApiStage\n  CREATE_COMPLETE - AWS::IAM::Role - IamRoleLambdaExecution\n  CREATE_IN_PROGRESS - AWS::Lambda::Function - SampleLambdaFunction\n  CREATE_IN_PROGRESS - AWS::Lambda::Function - SampleLambdaFunction\n  CREATE_COMPLETE - AWS::Lambda::Function - SampleLambdaFunction\n  CREATE_IN_PROGRESS - AWS::ApiGatewayV2::Api - HttpApi\n  CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution\n  CREATE_IN_PROGRESS - AWS::IAM::Role - IamRoleLambdaExecution  CREATE_IN_PROGRESS - AWS::Logs::LogGroup - SampleLogGroup\n✔ Service deployed to stack aws-lambda-typescript-dev (124s)\n\nendpoint: GET - https://i9uw76m827.execute-api.us-east-1.amazonaws.com/functions:\n  sample: aws-lambda-typescript-dev-sample (98 kB)\nStack Outputs:\n  SampleLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:761169812470:function:aws-lambda-typescript-dev-sample:1  HttpApiId: i9uw76m827\n  ServerlessDeploymentBucketName: aws-lambda-typescript-de-serverlessdeploymentbuck-1wk377f3l6f7j  HttpApiUrl: https://i9uw76m827.execute-api.us-east-1.amazonaws.com\n\nMonitor all your API routes with Serverless Console: run \"serverless --console\"\n```\n - To check (Dev and Prod)\n \n```\nnpm run check-dev\n```\n```\nnpm run check prod\n```\n\n  - Console succesful results:\n  \n  ```json\n  {\n    \"statusCode\": 200,\n    \"headers\": {\n        \"content-type\": \"application/json\"\n    },\n    \"body\": \"{\\\"message\\\":\\\"Hello World!\\\"}\"\n  }\n  ```\n  \n  Screenshots\n\n![image](https://user-images.githubusercontent.com/22874642/182498554-5efbdbc7-f710-40d9-b8f9-4b05d1078207.png)\n\n![image](https://user-images.githubusercontent.com/22874642/182498213-3fb315ee-89be-4eed-bd36-6295d3a2ad53.png)\n\n![image](https://user-images.githubusercontent.com/22874642/182498251-9c661864-7be0-4cda-ae3e-8f9ff76ef045.png)\n\n![image](https://user-images.githubusercontent.com/22874642/182498680-3bc79916-8d05-41a7-b5e4-5ddbadc2795c.png)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmbl1685%2Faws-lambda-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmbl1685%2Faws-lambda-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmbl1685%2Faws-lambda-typescript/lists"}