Skip to content

Instantly share code, notes, and snippets.

@nataliaconde
Created August 11, 2020 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nataliaconde/63ce2fd6aabb35201aa7563059d569cd to your computer and use it in GitHub Desktop.
Save nataliaconde/63ce2fd6aabb35201aa7563059d569cd to your computer and use it in GitHub Desktop.
Starting server
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