Last active
November 29, 2015 21:27
-
-
Save miyamotodev123/4cd6bd603b65eec6ac5f to your computer and use it in GitHub Desktop.
passport tdd blog server.js
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
process.env.NODE_ENV = process.env.NODE_ENV || 'development'; | |
var mongoose = require('./config/mongoose'), | |
express = require('./config/express'); | |
var db = mongoose(); | |
var app = express(); | |
app.listen(3000); | |
module.exports = app; | |
console.log('Server running at port 3000'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment