Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 573 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 573 Bytes

Dios

Requirements:

nodejs version:v4.4.1

npm version:2.14.20

#Installation: 1.git clone ~project

2.config the propties in config/datasources.json as customer define of database

3.new model files with table name under /model/{datasource name}

4.npm install

5.node app

6.http://127.0.0.1:3000/api/{datasource name}/{model name}

#Usage:

1)get mutiple datasouce in code app.db[key]; Currtently,the project supports mysql and lowdb

#LICENSE

Dios is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.