{"id":20934759,"url":"https://github.com/kenvilar/serverless-nodejs-lambda-config","last_synced_at":"2025-06-22T00:07:38.354Z","repository":{"id":68522964,"uuid":"145923406","full_name":"kenvilar/serverless-nodejs-lambda-config","owner":"kenvilar","description":"Serverless Backend using Node.js on AWS Lambda with Serverless Framework","archived":false,"fork":false,"pushed_at":"2018-08-28T12:43:43.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T02:41:16.618Z","etag":null,"topics":["aws","aws-lambda","nodejs","serverless"],"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/kenvilar.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-08-24T00:51:48.000Z","updated_at":"2018-08-28T12:43:45.000Z","dependencies_parsed_at":"2023-06-11T09:30:27.373Z","dependency_job_id":null,"html_url":"https://github.com/kenvilar/serverless-nodejs-lambda-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kenvilar/serverless-nodejs-lambda-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenvilar%2Fserverless-nodejs-lambda-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenvilar%2Fserverless-nodejs-lambda-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenvilar%2Fserverless-nodejs-lambda-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenvilar%2Fserverless-nodejs-lambda-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenvilar","download_url":"https://codeload.github.com/kenvilar/serverless-nodejs-lambda-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenvilar%2Fserverless-nodejs-lambda-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261212502,"owners_count":23125584,"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","nodejs","serverless"],"created_at":"2024-11-18T22:10:59.053Z","updated_at":"2025-06-22T00:07:33.340Z","avatar_url":"https://github.com/kenvilar.png","language":"JavaScript","readme":"# serverless-nodejs-lambda-config\n\n## Instruction    \n```\nbrew install awscli   \nnpm install -g serverless   \n\n#deploy our first function\nsls deploy\n#invoke the lambda function, this will output \"This is a test only\"\nsls invoke --function kenVilarFunction    \n\n#debug\nsls invoke --function kenVilarFunction log    \n\n#alternative to sls invoke command\nsls logs --function kenVilarFunction    \n\n#Redeploy the whole stack\nsls deploy function --function kenVilarFunction\n#this will output \"This is a test only\"\nsls invoke --function kenVilarFunction\n\n#since we've changed the configuration in the serverless.yml\nsls deploy\ncurl \u003camazonaws-link-dev-app\u003e\n```\n\n```\nnpm install --save uuid\n```\n\n## To store data\n```curl\ncurl -X POST \u003camazonaws-link-dev-app\u003e/todos --data '{\"text\": \"My name is Ken Vilar\"}'\n```\n\n## To retrieve data\n```curl \ncurl \u003camazonaws-link-dev-app\u003e/todos/\u003cyour-existing-uuid\u003e\n```\n## To retrieve data with debug log (handy)\n```\nsls invoke --function getTodo --log --data '{\"pathParameters\": {\"id\": \"\u003cyour-existing-uuid\u003e\"}}'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenvilar%2Fserverless-nodejs-lambda-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenvilar%2Fserverless-nodejs-lambda-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenvilar%2Fserverless-nodejs-lambda-config/lists"}