Skip to content

Instantly share code, notes, and snippets.

@jesspoemape
Created June 29, 2017 01:01
Show Gist options
  • Save jesspoemape/6b63a00b6d7bf1b3fe157a2e41541717 to your computer and use it in GitHub Desktop.
Save jesspoemape/6b63a00b6d7bf1b3fe157a2e41541717 to your computer and use it in GitHub Desktop.
Basic Node.js server
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