Created
May 22, 2021 13:16
-
-
Save AliAnilKocak/ec16ab31af837dd462a989bd744b4b17 to your computer and use it in GitHub Desktop.
express 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
const express = require('express') | |
const app = express() | |
const port = 3000 | |
app.get('/', (req, res) => | |
res.send('Hello World')) | |
app.listen(port, () => console.log(`Proje ${port} portunda ayakta!`)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment