Skip to content

Releases: downgoon/autorest4db

0.1.1

04 May 07:48
Compare
Choose a tag to compare

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