Data Service
Config File:
Sample Code:
var data_service = ;var config = ;var service = "mysql";var table = "table";var id = id: id;var data = field1:"field1" field2:"field2" field3:"field3"; // Connectdata_service; // Createdata_service; // Readdata_service; // Updatedata_service; // Deletedata_service; // Destroydata_service;
Installation
$ npm install data-service
Install dependencies:
$ npm install
Start the example:
Step 1:
$ git clone https://github.com/LeoYehTW/data-service.git$ npm install$ node example.js
Step 2: Open "Data Service - Management" Website. (http://127.0.0.1:5000)
Step 3: Change database connection information.
General CRUD Function
- Create
- Read
- Update
- Delete
Support
Contributors
- Author: Leo Yeh TW