automatically generate a RESTful API of your database (sqlite3 or mysql) **in runtime**.
$ wget https://github.com/downgoon/autorest4db/releases/download/0.1.1/autorest4db-0.1.1.tar.gz
$ tar zxvf autorest4db-0.1.1.tar.gz
$ cd autorest4db-0.1.1
$ bin/autorest4db start
create a database named default
and several tables defined in default.sql
script located in the root directory of the project just by uploading the script like as follows:
$ cd autorest4db-0.1.1
$ curl -F "[email protected]" http://127.0.0.1:8080/dbmeta/default
{"fname":"SUCC"}%
employee
from database default
$ curl -i -X GET http://localhost:8080/dbapi/default/employee