Created
July 14, 2018 22:08
-
-
Save theptrk/fc90544055c1b355ecfe0ae81ead80fa to your computer and use it in GitHub Desktop.
index.js
This file contains hidden or 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 = 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