generator-astro-sls
v2.0.3
Published
Generator to create serverless nodejs application
Maintainers
Readme
Astro Serverless Generator
Yeoman generator for building Serverless project on NodeJS. The principle of the project structure is isolation, so multiple developers can work on the same project without high dependency.
Requirements
Getting Started
Install:
npm install -g yo generator-astro-slsGenerate a new project:
yo astro-slsChoose your project, either service or fullstack
Generator CLI
Generate a new Handler:
yo astro-sls:handlerGenerate a new middleware:
yo astro-sls:middlewareGenerate a new service:
yo astro-sls:serviceGenerate a new utility:
yo astro-sls:utilRunning Locally
yarn devRunning in Production
yarn deploy