Created
August 11, 2020 14:31
-
-
Save nataliaconde/63ce2fd6aabb35201aa7563059d569cd to your computer and use it in GitHub Desktop.
Starting server
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
var express = require('express'); | |
var app = express(); | |
var port =process.env.PORT || 3000; | |
var routes = require('./api/routes'); routes(app); | |
app.listen(port,function(){ console.log('Server started on port: ' + port); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment