-
-
Save markstory/2003657 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(); | |
var model = require('transactionmodel); | |
var tm = new model.TransactionModel(pg); | |
// transactionmodel.js | |
function TransactionModel(pg) { | |
this.getCurrent = function(pg) { | |
return {}; | |
}; | |
} | |
module.exports.TransactionModel = TransactionModel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment