Skip to content

Instantly share code, notes, and snippets.



Created Aug 11, 2020
What would you like to do?
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
You can’t perform that action at this time.