Updated to the latest iteration of the sales tracking app; Added some temporary photos for UBS.

This commit is contained in:
Wynne Crisman
2016-10-03 11:00:49 -07:00
parent 105e657b35
commit 20ffd82abb
25 changed files with 7709 additions and 156 deletions

27
brainstorm.js Normal file
View File

@@ -0,0 +1,27 @@
//Server side brainstorm.
module.exports = function(app, sequelize) {
var io = require('socket.io')(app);
io.on('connection', function(socket) {
//TODO: Handle new connections.
//socket.emit("name", {param: 'value'});
//socket.on("name", function(data) {});
socket.on("query", function(params) {
var model = sequelize.models[params.class];
if(model) {
}
else {
}
});
socket.on('disconnect', function() {
//TODO: ?
});
});
};