Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express

const express = require('express')
const App = express()
const Port = 3000

App.get('/', (req, res) => {
  res.send('Hello World!')
})

App.listen(Port, () => {
  console.log(`Express app listening at ${Port}`)
})
Source by expressjs.com #
 
PREVIOUS NEXT
Tagged: #express
ADD COMMENT
Topic
Name
9+6 =