Created
October 14, 2020 08:37
-
-
Save lelouchB/9bb63ae27c3893a0af66a28293471ee4 to your computer and use it in GitHub Desktop.
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(); | |
const port = 3000; | |
app.get("/", (req, res) => { | |
res.json({ | |
message: "Hello Stranger! How are you?", | |
}); | |
}); | |
app.listen(port, () => { | |
console.log(`Listening on port: ${port}`); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment