1.0.7 • Published 10 months ago

nodebasecli v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

nodebase-cli

This is a package developed to helps you to create industry standard code structure

To install cli

npm i -g nodebasecli

Available Cli commands

This package comes with cli commands to create controller, model, middleware and mail

Create Controller

This cli command will create controller

nodebase make:controller UserController

Create Model

This cli command will create model

nodebase make:model UserDetail

Create Mail

This cli command will create mail

nodebase make:mail OrderMail

Create Middleware

This cli command will create middleware

nodebase make:middleware KeyValidateMiddleware

Install socket server

This cli command will install and set socket server to you server file

nodebase app:install socket

copy the code below to server file

import { Server } from 'socket.io';
import { SocketController } from './app/controllers/socket/socketController.js';

Add Aws Services

Add Aws Services

This cli command will add aws services to your project

The services you can add are:

  • sqs
  • sns
  • ses
  • sts
  • s3
nodebase app:add sqs

OR

nodebase app:add sns

OR

nodebase app:add ses

OR

nodebase app:add sts

OR

nodebase app:add s3

The service files will be createn in the aws folder inside utils

1.0.2

10 months ago

1.0.1

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.0

1 year ago