-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json and .gitignore #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eww
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this have heroku information?
Heroku would go somewhere else... |
@John-Hong no way |
@@ -4,8 +4,8 @@ var methodOverride = require('method-override'); | |||
var bodyParser = require('body-parser'); | |||
var exphbs = require("express-handlebars"); | |||
//==============Local dependencies | |||
var db = require("./models"); | |||
var controller = require('./controllers/controller') // Name controllers accordingly | |||
// var db = require("./models"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out references to db until we have sequelize stuff from @narst20
@John-Hong @narst20 FYI - the controller.js file behaves like the Sequelize index.js file, so it requires all the js files in the controllers directory. So, in our server.js file, we just need to require controller.js and call it with controller(app), like on line 30 in server.js Also - someone review my code, pleaaaase |
Checkittttt