Created
May 26, 2017 00:09
-
-
Save vitorhidalgo/24a6ff0cff31f135b64787cebd2217bc to your computer and use it in GitHub Desktop.
server.js
This file contains hidden or 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
| var app = require('./config/express')(); | |
| require('./config/database')('mysql://root:root@127.0.01:3306/auction'); | |
| app.listen | |
| ( | |
| app.get('port'), | |
| function() | |
| { | |
| console.log(`Express Server on port ${app.get('port')}`); | |
| } | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment