2.2.1 • Published 2 years ago

amc-serverless-generate v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Features

  • Generates a complete serverless framework project
  • Use of typeScript for the project
  • Use jest with UniTest
  • Use DDD

amcServerless Generate

NPM Version NPM Downloads Linux Build Windows Build

Link npm

<link npm> : https://www.npmjs.com/package/amc-serverless-generate <link gitHub> : https://github.com/alvaromoca1/CLI-amcServerless-framework/tree/main

Installation

$ npm install -g amc-serverless-generate

Quick Start

The quickest way to get started with serverless is to utilize the executable serverless(1) to generate an application as shown below:

Create the app:

$ amcServerless  newProyect [name_proyect]

Install dependencies:

$ npm install

Start your Express.js app at http://0.0.0.0:3000/dev/helloword:

$ sls offline --stage dev --region us-east-1 --host 0.0.0.0

The Comand

for create a new handler

$ amcServerless g h [your_name_hamdler]
or
$ amcServerless g handler [your_name_hamdler]

for create a new controller

$ amcServerless g c [your_name_controller]
or
$ amcServerless g controller [your_name_controller]

for create a new service or caseUse

$ amcServerless g s [your_name_service]
or
$ amcServerless g service [your_name_service]

for create a new service or Module

$ amcServerless g m [your_name_module]
or
$ amcServerless g module [your_name_module]

License

MIT