Skip to content

Instantly share code, notes, and snippets.

@lelouchB
Created September 23, 2020 08:31
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 lelouchB/34aa954f55cc7767f57325736c3b3674 to your computer and use it in GitHub Desktop.
Save lelouchB/34aa954f55cc7767f57325736c3b3674 to your computer and use it in GitHub Desktop.

Without any indents

const express = require("express"); const app = express(); const port = 3000;

app.get("/", (req, res) => { res.send("Hello World!"); });

app.listen(port, () => { console.log(Example app listening at http://localhost:${port}); });

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