Created
March 7, 2019 20:48
-
-
Save Lahirutech/31d288bf4a136fd34fce76dc815f2359 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(); | |
app.get('/',(req,res)=>{ | |
res.send('<h1>Welcome to Express</h1>')}); | |
const PORT=process.env.PORT||5000; | |
app.listen(PORT,()=>console.log(`server Started on port ${PORT}`)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment