Created
October 18, 2019 21:01
-
-
Save angellandros/26c8f79de0716bf5824f87da3269c2e4 to your computer and use it in GitHub Desktop.
Expree.js Hello World
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
import * as express from 'express'; | |
const app = express(); | |
const port = 3000; | |
app.get('/', (req, res) => res.send('Hello World!')); | |
app.listen(port, () => console.log(`Server started listening to port ${port}`)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment