Created
June 29, 2017 01:01
-
-
Save jesspoemape/6b63a00b6d7bf1b3fe157a2e41541717 to your computer and use it in GitHub Desktop.
Basic Node.js server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const app = express(); | |
app.use(bodyParser.json()); | |
app.listen(3000, () => { | |
console.log("Listening on port 3000"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment