REST interface for your SQL database.
restabase uses sequelize ORM and should support all databases sequelize does. NOTE: It has been tested only with MySQL.
Prerequisites: You will need node
, npm
and git
installed.
cd
to folder you want to usegit clone https://github.com/marin-liovic/restabase
cd
to new restabase folder and run npm install
cd
to install folder/config
node app.js
forever
globally and use it to run restabase: forever start app.js
fields
to select returning fields; multiple values should be comma separatedoffset
and limit
to support paginationgt
(greater than), gte
(greater than or equal), lt
(less than), lte
(less than or equal), ne
(not equal), like
(SQL like functionality), notLike
(SQL not like functionality) with query parameters: {field_name}${operator}={value}