0.1.13 • Published 5 years ago

m10-cli v0.1.13

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

m10-cli

npm version

Scaffold tool for m10-based projects

Work in progress

Install

npm i -g m10-cli

Options

Create a new boilerplate project

m10-cli new folder-name-here

Will create a new boilerplate with the following folders/files (you don't need to follow this pattern, you can use any files and folder in your configuration file):

  • app.js

    	Express and m10 setup
  • config.json

    	Blank configuration
  • schema/

    	Empty folder for validation files
  • handler/

    	Empty folder for handler files
  • middleware/

    	Empty folder for middleware files

Generate CRUD resources for existing project

In the root of your m10 project run:

m10-cli add crud

Follow the prompts and will generate a complete CRUD handlers/validations automatically with MongoDB support.

Add route/validation to existing project

In the root of your m10 project run:

m10-cli add route

Follow the prompts and will generate a new route and validation based on your inputs.

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago