Skip to content

Instantly share code, notes, and snippets.

@rgajrawala
Last active May 16, 2017 23:01
Show Gist options
  • Save rgajrawala/8cdafeee8f74ddb757f9ca79063c1502 to your computer and use it in GitHub Desktop.
Save rgajrawala/8cdafeee8f74ddb757f9ca79063c1502 to your computer and use it in GitHub Desktop.
require('express')()
.get('/', (req, res) => res.send('Hello World!'))
.listen(3000, () => console.log(`Example app listening on port ${3000}!`));
{
"name": "express-hello",
"version": "1.0.0",
"description": "Express hello-world",
"main": "app.js",
"scripts": {
"test": "true"
},
"repository": {
"type": "git",
"url": "git+https://gist.github.com/8cdafeee8f74ddb757f9ca79063c1502.git"
},
"keywords": [
"express",
"hello",
"world"
],
"author": "Express",
"license": "ISC",
"bugs": {
"url": "https://gist.github.com/8cdafeee8f74ddb757f9ca79063c1502"
},
"homepage": "https://gist.github.com/8cdafeee8f74ddb757f9ca79063c1502",
"dependencies": {
"express": "^4.15.2"
}
}
@rgajrawala
Copy link
Author

Don't do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment