{"id":16618111,"url":"https://github.com/jandedobbeleer/serverless-functions","last_synced_at":"2025-03-11T05:42:22.621Z","repository":{"id":72571091,"uuid":"139757792","full_name":"JanDeDobbeleer/serverless-functions","owner":"JanDeDobbeleer","description":"AWS Lambda's configured and managed through Serverless","archived":false,"fork":false,"pushed_at":"2018-09-13T13:20:17.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T20:43:24.777Z","etag":null,"topics":["aws","aws-lambda","serverless","serverless-functions","serverless-offline"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JanDeDobbeleer.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-07-04T19:06:59.000Z","updated_at":"2022-04-26T04:50:01.000Z","dependencies_parsed_at":"2023-06-10T07:00:21.120Z","dependency_job_id":null,"html_url":"https://github.com/JanDeDobbeleer/serverless-functions","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/JanDeDobbeleer%2Fserverless-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanDeDobbeleer%2Fserverless-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanDeDobbeleer%2Fserverless-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanDeDobbeleer%2Fserverless-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanDeDobbeleer","download_url":"https://codeload.github.com/JanDeDobbeleer/serverless-functions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242980788,"owners_count":20216285,"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","serverless-functions","serverless-offline"],"created_at":"2024-10-12T02:19:07.984Z","updated_at":"2025-03-11T05:42:22.600Z","avatar_url":"https://github.com/JanDeDobbeleer.png","language":"JavaScript","readme":"# Serverless Stack\n\nThis repository contains all my serverless functions currently hosted on AWS.\n\n## Configuration\n\nCreate AWS access as described [here][aws-setup-link].\nUsing the received credentials, add a profile to `~/.aws/credentials`:\n\n```\n[profileName]\naws_access_key_id=***************\naws_secret_access_key=***************\n```\n\n## Setup\n\n[Serverless][sls] is included as a dependency in the root of the repository to make sure the version is pinned cross functions.\nIt's advised to use `yarn` over `npm` as we're 2018 (and it's faster too 😄).\n\n    $ yarn install\n\nWhen you want to initialize a function, navigate to the folder and install it's dependencies.\n\n    $ cd github-webhooks\n    $ yarn install\n\nEach function is configured to use serverless included in the root of the repository.\n\n## Debugging\n\nI advice to use [Visual Studio Code][vscode] given that the debug task is included in the project, feel free to create a PR if you wan't to add other integrations. Pressing `F5` will use [serverless-offline][sol] to start a debug session and run the function.\n\n_Beware: setting breakpoints might tell you they can't be bound, this is not true._\n\nUse any tool of choice to invoke http functions and have fun.\n\n## Secure Variables\n\nThe runtime variables are included in the project. The [serverless-secrets-plugin][sspl] is used to encrypt and decrypt them.\n\n    $ yarn sls encrypt --password correcthorsebatterystaple --stage production\n\n## Deployment\n\nYou can deploy individual functions using serverless. Navigate to the function you wish to deploy and use the deploy command.\n\n    $ yarn sls deploy --verbose --aws-profile profileName\n\n[aws-setup-link]: https://serverless.com/framework/docs/providers/aws/guide/credentials#creating-aws-access-keys\n[sls]: https://serverless.com/\n[vscode]: https://code.visualstudio.com/\n[sspl]: https://github.com/serverless/serverless-secrets-plugin\n[sol]: https://github.com/dherault/serverless-offline\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandedobbeleer%2Fserverless-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjandedobbeleer%2Fserverless-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandedobbeleer%2Fserverless-functions/lists"}