-
Notifications
You must be signed in to change notification settings - Fork 60
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
Feature/update to current #11
base: master
Are you sure you want to change the base?
Conversation
Feature/update and prep for demo
add app.json
add a resource for the environment label
This reverts commit 709021d.
@@ -0,0 +1,53 @@ | |||
'use strict'; |
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.
This is a file generated by db-migrate
@@ -1,124 +1,38 @@ | |||
const express = require('express'); | |||
const router = express.Router(); | |||
const pg = require('pg'); |
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.
The pg
lib works differently today - breaking changes from original
return res.json(results); | ||
}); | ||
}); | ||
}); |
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.
Surprised by how much boilerplate went away!
Fixes #10
Changes implemented as a result of wanting to to a Heroku demo and not wanting to write a frontend! Just drop me a line if you want me to adjust anything or tidy anything up. Good luck with the blog post!
I'll go through and overview changes in individual files.
High-level: