Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create node js api

/*
In your Console:
	npm init
    npm install express --save
*/
const express = require('express')
const app = express()

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

app.listen(3000)
 
PREVIOUS NEXT
Tagged: #create #node #js #api
ADD COMMENT
Topic
Name
9+3 =