Skip to content

xinshouke/Dios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

REST API thr nodejs express from multiple database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published