SawaGem : auto generate code tools for sawa rest api
install it yourself as:
$ gem install sawa
Usage
create new crud project:
$ sawa -n demo
create new crud project:
$ cd demo
fill model.xls and it will create tables、resources、models、pages
$ sawa -g model.xls
$ ant compile
run api server (*before run api you must fix db config in mini.yml)
$ sawa -s
run client
$ cd www
$ npm install
$ npm start
login(*before login must be regist, debug model password is 0000)
after login
dependencies
Ruby2.3
JDK1.8
Apache Ant
npm
License
The gem is available as open source under the terms of the MIT License.