Skip to content

0.1.1

Latest
Compare
Choose a tag to compare
@downgoon downgoon released this 04 May 07:48
· 3 commits to master since this release

Install and start autorest4db

$ 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 dababase and tables in runtime

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"}%

Get list of employee from database default

$ curl -i -X GET http://localhost:8080/dbapi/default/employee