Framework nodeJs ( >=node v7), based on async / await and es6, this framework uses mongoose as odm, with inSane it will be possible to create applications with modern concepts and code generation.
This framework is using gulp, so to start your project run gulp.
Install
- clone this repo
- npm install
- gulp
Enjoy!
Commands
For execute commads inSane run node console.js:
make:command <name> [args]
- Generate command, args is optional, example:
make:command bunda <temPelo> <cor>
- Generate command, args is optional, example:
make:api <entity> [fields]
- Generate crud rest using async / await, this generete controller, route, model, fields is optional if you not passing for default is apply 'name:String', example:
make:api bunda nomeDoFula:String,temPelo:Boolean,cor:String
- Generate crud rest using async / await, this generete controller, route, model, fields is optional if you not passing for default is apply 'name:String', example:
make:model <entity> [fields]
- Generate model, fields is optional if you not passing for default is apply 'name:String', example:
make:model bunda nomeDoFula:String,temPelo:Boolean,cor:String
- Generate model, fields is optional if you not passing for default is apply 'name:String', example:
make:service <entity>
- Generate service, example:
make:service bunda
- Generate service, example:
TODO:
Removes sample codesImplements generate API codes, make:API- Implements make:auth
Implements make:controllerImplements make:model- Implements architecture for sending emails
- Implements architecture for auth
- Study feasibility of designing documentation when a new endpoint API is generated
- Write case tests
- Write docs