testthing.js 218 B

1234567891011
  1. const express = require('express')
  2. const app = express()
  3. const port = 3000
  4. app.get('/', (req, res) => {
  5. res.send('Hello World!')
  6. })
  7. app.listen(port, () => {
  8. console.log(`Example app listening on port ${port}`)
  9. })