express server first example

node v10.24.1
version: 1.0.0
endpointsharetweet
const express = require("express") const app = express() const port = 3000 app.get('/', (req, res) => { res.send("Hello Girish"); }) app.listen(port, () => console.log(`Running on port ${port}`))
Loading…

no comments

    sign in to comment