{"id":15017814,"url":"https://github.com/msolimans/generator-sls","last_synced_at":"2025-04-30T09:51:39.235Z","repository":{"id":39171992,"uuid":"163119373","full_name":"msolimans/generator-sls","owner":"msolimans","description":"Yeoman generator for a lambda Serverless project","archived":false,"fork":false,"pushed_at":"2024-11-12T05:57:55.000Z","size":56742,"stargazers_count":29,"open_issues_count":62,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T12:54:23.175Z","etag":null,"topics":["aws","dotnet-core","goland","golang","idea","java","jetbrains","lambda","lambda-serverless","nodejs","pycharm","python","sam","serverless","visual-studio-code","webstorm","yeoman","yeoman-generator"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/msolimans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-12-26T00:23:28.000Z","updated_at":"2024-03-06T00:26:26.000Z","dependencies_parsed_at":"2022-07-12T17:45:21.338Z","dependency_job_id":"2e89c340-b583-418c-8993-819e9780972b","html_url":"https://github.com/msolimans/generator-sls","commit_stats":{"total_commits":181,"total_committers":6,"mean_commits":"30.166666666666668","dds":0.07182320441988954,"last_synced_commit":"a3d469ba3767e44a1ae592034b7d2ac2636ded9b"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msolimans%2Fgenerator-sls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msolimans%2Fgenerator-sls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msolimans%2Fgenerator-sls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msolimans%2Fgenerator-sls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msolimans","download_url":"https://codeload.github.com/msolimans/generator-sls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251679883,"owners_count":21626619,"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","dotnet-core","goland","golang","idea","java","jetbrains","lambda","lambda-serverless","nodejs","pycharm","python","sam","serverless","visual-studio-code","webstorm","yeoman","yeoman-generator"],"created_at":"2024-09-24T19:51:01.296Z","updated_at":"2025-04-30T09:51:39.207Z","avatar_url":"https://github.com/msolimans.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generator Serverless\n\n[![NPM Badge](https://img.shields.io/npm/v/generator-sls.svg)](https://www.npmjs.com/package/generator-sls)\n![](https://img.shields.io/npm/dt/generator-sls.svg)\n![](https://img.shields.io/github/license/msolimans/generator-sls.svg)\n[![](https://img.shields.io/github/languages/count/msolimans/generator-sls.svg)](https://github.com/msolimans/generator-sls/search?l=JSON)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/12d543d7665b42c0b072141276012dd2)](https://www.codacy.com/app/msolimans/generator-sls?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=msolimans/generator-sls\u0026amp;utm_campaign=Badge_Grade)\n[![](https://img.shields.io/gitter/room/generator-sls/community.svg)](https://gitter.im/generator-sls/community#)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmsolimans%2FAlgorithms.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmsolimans%2FAlgorithms?ref=badge_shield)\n[![HitCount](http://hits.dwyl.io/msolimans/generator-sls.svg)](http://hits.dwyl.io/msolimans/generator-sls)\n\nYeoman generator for a lambda Serverless project\n\n![](./assets/go-pt1.gif)\n![](./assets/go-pt2.gif)\n\n## Requirements\n\n*   Language of choice (Go 1.11, Python 2.7+, NodeJS 6+, .NET Core 2+, Java 8) \n*   Yeoman \u003e= V1.8.5\n\n## Generator installation\n \n1) you are going to need [Yeoman](http://yeoman.io/):\n```bash\nnpm install -g yo\n```\n2) Install the generator:\n\n```bash\nnpm i -g generator-sls\n```\n\n## Usage\n\n### Base generator\n\nOnce the link established, you can use it right away.\nCreate a new directory where you want your project to be and run it:\n\n```bash\nmkdir lambda-service\ncd lambda-service\nyo sls\n```\n\nIt will prompt some questions you need to answer to configure your project.\nDefault values are specified between parenthesis.\nYou now have a starter skeleton for a lambda project!\n\n### Sub-generator\n\nAfter creating project/service, you can easily add a function/route by using the subgenerator. In the root directory of your project, run:\n```bash\nyo sls:route\n```\nJust like the base generator, it will prompt you to give the function(s) name(s).\nIt creates the handler files\n and modify the `serverless.yml` file according to.\n\n## Unit Testing\n### Generator unit tests\nTODO\n\n### Project unit tests\nFor every route created with the generator, a corresponding basic unit test file is added.\n\n## Features\n*   Support of AWS SAM \n*   Support of Serverless \n*   Local Invoke/Debug \n*   Supports Go 1.11, Python 2.7+, .NET Core 2+, Java 8+\n\n## Roadmap\n*   Support of Go :white_check_mark:  \n*   Support of NodeJS :clock8:\n*   Support of Python :white_check_mark:\n*   Support of Java :white_check_mark:\n*   Support of C# :white_check_mark: \n*   Support of different types of events for lambda function, \n*   Simplifying local invoke/debug of lambda or apis (Support of SAM)\n*   Orchestration and support of domains  \n*   Deployment using (Terraform, Amplify, SAM, Apex, or Serverless)\n*   Auto generate scripts for simplifying serverless development in different IDEs (Visual Studio Code, Intellij, PyCharm, WebStorm, and Goland)\n*   Choose Unit test framework to be used\n\n## Resources\n*   \u003chttps://serverless.com\u003e\n*   \u003chttps://github.com/awslabs/aws-sam-cli\u003e\n*   \u003chttps://github.com/sapessi/serverless-sam\u003e\n*   \u003chttps://github.com/awslabs/aws-amplify-serverless-plugin/blob/master/example/serverless.yml\u003e\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmsolimans%2FAlgorithms.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmsolimans%2FAlgorithms?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsolimans%2Fgenerator-sls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsolimans%2Fgenerator-sls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsolimans%2Fgenerator-sls/lists"}