{"id":18283585,"url":"https://github.com/thesmartmonkey/create-serverless-simple-ts-service","last_synced_at":"2025-04-09T05:42:56.545Z","repository":{"id":140586660,"uuid":"477285583","full_name":"TheSmartMonkey/create-serverless-simple-ts-service","owner":"TheSmartMonkey","description":"Template of a simple serverless typescript api service with dynamodb","archived":false,"fork":false,"pushed_at":"2022-09-25T18:42:30.000Z","size":43742,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T00:19:09.126Z","etag":null,"topics":["aws-lambda","aws-lambda-node","serverless","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheSmartMonkey.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-03T08:50:42.000Z","updated_at":"2023-06-15T00:48:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"de0042b8-0d40-441a-965f-8f1b728d32b5","html_url":"https://github.com/TheSmartMonkey/create-serverless-simple-ts-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"TheSmartMonkey/serverless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-simple-ts-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-simple-ts-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-simple-ts-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSmartMonkey%2Fcreate-serverless-simple-ts-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSmartMonkey","download_url":"https://codeload.github.com/TheSmartMonkey/create-serverless-simple-ts-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987108,"owners_count":21028891,"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-lambda","aws-lambda-node","serverless","serverless-framework","typescript"],"created_at":"2024-11-05T13:10:02.083Z","updated_at":"2025-04-09T05:42:56.528Z","avatar_url":"https://github.com/TheSmartMonkey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless simple typescript service template\n\nTemplate of a simple serverless typescript api service with dynamodb\n\n## Installation\n\n```bash\nnpx degit https://github.com/TheSmartMonkey/create-serverless-simple-ts-service serverless-ts-service\n```\n\nChanges to be done\n\n1. package.json config name\n\n1. serverless.ts service name\n\n1. Change the region in `serverless.ts` provider/region (current region: Paris)\n\n## Getting started\n\n1. Install serverless framework : [serverless framework Get Started](https://www.serverless.com/framework/docs/getting-started)\n\n1. Setup your aws credentials : [aws config](https://www.serverless.com/framework/docs/providers/aws/guide/credentials)\n\nCreate a cloud formation stack on aws : `npm run deploy`\n\nRemove a cloud formation stack on aws : `npm run undeploy`\n\n## Manual test locally\n\nIn order to test the lambda functions locally, after you have deployed the stack a first times\nfor dependencies like dynamodb, run the following command:\n\n- `npx sls invoke local -f hello --path src/functions/hello/mock.json`\n\nCheck the [sls invoke local command documentation](https://www.serverless.com/framework/docs/providers/aws/cli-reference/invoke-local/) for more information.\n\n## To simulate remote locally\n\nIn serverless.ts put environment/OFFLINE to 'true'\n\nThen run `npm run offline`\n\nYour `sls invoke local` commands now target your offline stack\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-simple-ts-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-simple-ts-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesmartmonkey%2Fcreate-serverless-simple-ts-service/lists"}