Skip to content

Instantly share code, notes, and snippets.

@chartjes
Created March 8, 2012 21:40
Show Gist options
  • Save chartjes/2003639 to your computer and use it in GitHub Desktop.
Save chartjes/2003639 to your computer and use it in GitHub Desktop.
// 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