Skip to content

Instantly share code, notes, and snippets.

@LAMike310
Created May 26, 2016 19:53
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 LAMike310/b0783ff649fc51e030c80c79b1f9969a to your computer and use it in GitHub Desktop.
Save LAMike310/b0783ff649fc51e030c80c79b1f9969a to your computer and use it in GitHub Desktop.
var express = require('express')
var app = express()
var request = require('request')
var bodyParser = require('body-parser')
app.use(bodyParser.json())
app.get('/hello', function(req, res){
res.send('world!')
})
app.listen(process.env.PORT || 3000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment