Moag is a scaffold generator
"Lost, like the Moa is lost" - Maori proverb
- support express && koa
- moag 1.x for moa2 v1
[sudo] npm install -g moag@1
- moag 2.x for moa2 v2
[sudo] npm install -g moag@2
moag student2 name:string password:string -k
moag cup name:string password:string -k -a
moag book name:string password:string -k -g
moag book name:string password:string -e
➜ moag git:(master) moag
Moajs HELP:
moag: 【创建脚手架】 moag user name:string password:string uid:object
Have a good day! Moaer
moag user name:string password:object
mongoose支持的data type基本如下:
- String -> string
- Number-> number
- Date -> date
- Boolean -> boolean
- Buffer -> buffer
- ObjectId -> object
- Mixed -> mixed
- Array -> array
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- v1.0.0 init
- write by
i5ting
shiren1118@126.com
如有建议或意见,请在issue提问或邮件
this repo is released under the MIT License.