Skip to content

Instantly share code, notes, and snippets.

@yoelmacia
Created November 26, 2019 00:33
Show Gist options
  • Save yoelmacia/37de667848148d526ce700ddb775fd52 to your computer and use it in GitHub Desktop.
Save yoelmacia/37de667848148d526ce700ddb775fd52 to your computer and use it in GitHub Desktop.
const express = require("express");
const app = express();
const port = process.env.PORT || 3000;
app.get("/", (req, res) => {
res.send("Hello World");
});
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment