Skip to content

Instantly share code, notes, and snippets.

@sony-mathew
Created February 20, 2018 04:45
Show Gist options
  • Save sony-mathew/9e881e0dadd5a782966ba0348bf25839 to your computer and use it in GitHub Desktop.
Save sony-mathew/9e881e0dadd5a782966ba0348bf25839 to your computer and use it in GitHub Desktop.
Express Web server
const express = require('express');
const app = express();
app.get('/', (req, res) => res.send('Hello World!'));
app.listen(3000, () => console.log('Example app listening on port 3000!'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment