Last active
March 18, 2019 15:43
-
-
Save topspinppy/9ca27479ebb4b792e08fafbd1038f823 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
var express = require("express"); | |
var app = express(); | |
var port = 4000; | |
app.get("/", (req, res) => { | |
res.send({ | |
status: "200" | |
}); | |
}); | |
app.listen(port, () => { | |
console.log(`server listening on port ${port}`); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment