Project

sawa

0.0
No commit activity in last 3 years
No release in over 3 years
"https://github.com/shouaya/moa/blob/master/README.md"
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0

Runtime

>= 1.8.3, ~> 1.8
>= 1.0.5, ~> 1.0
>= 1.1.4, ~> 1.1
 Project Readme

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

http://localhost:9000/

run client

$ cd www
$ npm install
$ npm start

http://localhost:3000/

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.