Skip to content

Instantly share code, notes, and snippets.

@mikepfeiffer
Created Dec 26, 2018
Embed
What would you like to do?
Simple Node Demo App
const config = require('./config');
const express = require('express');
const app = express();
app.get('/', (req, res) => {
res.send('Hello World v2!');
});
app.listen(config.port, () => {
console.log(`Server started on port ${config.port}`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment