Skip to content

Instantly share code, notes, and snippets.

@simonguest
Last active July 6, 2018 22:30
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 simonguest/e11e43409f85e6fb0f4a4fb50e66319c to your computer and use it in GitHub Desktop.
Save simonguest/e11e43409f85e6fb0f4a4fb50e66319c to your computer and use it in GitHub Desktop.
Node/Express Boilerplace
const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.send({ working: true });
});
const port = process.env.PORT || 3000;
app.listen(port, () => console.log(`Server listening on ${port}`));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment