generator-astro-sls
v2.0.3
Published
Generator to create serverless nodejs application
Downloads
131
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-sls
Generate a new project:
yo astro-sls
Choose your project, either service or fullstack
Generator CLI
Generate a new Handler:
yo astro-sls:handler
Generate a new middleware:
yo astro-sls:middleware
Generate a new service:
yo astro-sls:service
Generate a new utility:
yo astro-sls:util
Running Locally
yarn dev
Running in Production
yarn deploy