1.1.1 • Published 4 years ago

tea-rest-plugin-mysql v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

tea-rest-with-mysql

MySQL & Sequlize as store, Base on tea-rest

Node version

tea-rest version

Installation

npm install tea-rest-plugin-mysql --save

Usage

const teaRest  = require('tea-rest');
const getter = require('tea-rest-helper-getter');
const assert = require('tea-rest-helper-assert');
const rest = require('tea-rest-helper-rest');
const params = require('tea-rest-helper-params');

teaRest
 .plugin(U.teaRestPluginMysql)
 .plugin(getter, assert, rest, params)
 .start(`${__dirname}/app`, (error) => {
   if (error) {
     console.error(error);
     process.exit();
   }
   console.info(`Service started at: ${new Date()}`);
 });
1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago