Skip to content

Instantly share code, notes, and snippets.



Last active Jul 6, 2020
What would you like to do?
// super simple express server
'use strict'
const http = require(`http`);
const port = 8080;
const server = http.createServer((req, res) => {
res.end(`Hello, World!`);
server.listen(port, (err) => {
if (err) return console.log(`Something bad happened: ${err}`);
console.log(`Node.js server listening on ${port}`);

This comment has been minimized.

Copy link
Owner Author

@keif keif commented Jul 6, 2020

I just needed a super simple express server showcasing GET/POST with ngrok for an arc.js application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.