-
Notifications
You must be signed in to change notification settings - Fork 13
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
Jillian & Jade's EXTREME VIDEO EXPRESS (it's the 90s) API!!!!!11!!!!1! kewl. #3
base: master
Are you sure you want to change the base?
Conversation
…son file, started defining our schema, and updated seeds to suit our wants.
…ne was an exercise in understanding.
…the model to customers to better reflect that it is getting customers, not videos
…stomers from videos
…sort to test that it returns the correct number of pages, but I have not yet done that. We should also write tests for errors.
// database setup | ||
var connectionString = "postgres://localhost/extreme_video_express"; | ||
var db = massive.connectSync({connectionString: connectionString}); | ||
app.set('db', db); |
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.
I'm so jealous. This project would've helped me so much in my capstone. It took me 2 days to figure out how to set up a database and then connect with it from within my (non rails) app. So yay! This concept is really important :)
Sorry I don't have a whole lot to add. I don't do javascript. But it looked good to me! Good job! |
Jade and I had a good time with this project. We are really proud that we completed the requirements (well, almost, one of our models is only at 84% coverage...Testing errors is challenging!), and also the ease we had in understanding the flow of data.
Testing our callback errors was very challenging, and we would like more practice with that. Not fully understanding massive "under the hood" made it difficult to make things fail.