marin-liovic / restabase

REST interface for your SQL database.
MIT License
43 stars 1 forks source link

restabase

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.

Instructions

Install

Prerequisites: You will need node, npm and git installed.

  1. cd to folder you want to use
  2. clone the repository: git clone https://github.com/marin-liovic/restabase
  3. cd to new restabase folder and run npm install

Run

  1. cd to install folder
  2. edit config files inside /config
  3. run node app.js
  4. optionally you can install forever globally and use it to run restabase: forever start app.js

API

1. GET /meta

2. GET /data/{table}