Created
March 8, 2012 21:40
-
-
Save chartjes/2003639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Front controller for our API | |
var application_root = __dirname; | |
var express = require("express"); | |
var path = require("path"); | |
var pg = require('pg'); | |
var app = express.createServer(); | |
function TransactionModel(pg) { | |
this.getCurrent = function(pg) { | |
return {}; | |
}; | |
} | |
var tm = new TransactionModel(pg); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment