amc-serverless-generate

2.2.1 • Public • Published

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

Package Sidebar

Install

npm i amc-serverless-generate

Weekly Downloads

2

Version

2.2.1

License

MIT

Unpacked Size

30.9 kB

Total Files

29

Last publish

Collaborators

  • alvaromoca1