Last active
July 6, 2018 22:30
-
-
Save simonguest/e11e43409f85e6fb0f4a4fb50e66319c to your computer and use it in GitHub Desktop.
Node/Express Boilerplace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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