Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

require express server.js

const express = require('express')const app = express() app.get('/', function (req, res) {  res.send('Hello World')}) app.listen(3000)
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #require #express
ADD COMMENT
Topic
Name
1+4 =