Initial Sequelize integration.

Added orm module to abstract Sequelize usage to some degree. ORM module
handles the configuration and instantiation of Sequelize. Models are
defined and instantiated from models/*

Tested only against SQLite.

Faily new to nodejs so I probably messed up with something.
This commit is contained in:
DC*
2014-01-12 01:47:34 -03:00
parent 56ba4c6c61
commit 6faeab4b0b
5 changed files with 51 additions and 25 deletions
+2
View File
@@ -6,6 +6,8 @@
"express": "~3.1.0",
"path": "~0.4.9",
"mysql": "~2.0.0",
"sqlite3": "~2.1.0",
"sequelize": "~2.0.0",
"socket.io": "*"
}
}