커리어 피드

Please write a title

Please fill in the subtitle

Prayag Chaudhary / 20. 01. 14. 오후 4:08

Package json-node js interview questions-edureka// this is example of node.js demo with Express

// let's take another example of HELLO WORLD 

const express = require ('express')

const app = express ()

const port = 3000


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


app.listen (port, () => console.log (`Example app listening on port $ {port}!`))

This application begins a server and tunes in on port 3000 for associations. The application reacts with "Hi World!" for solicitations to the root URL (/) or course. For each other way, it will react with a 404 Not Found.

Node.js is an open-source, cross-stage, JavaScript runtime condition that executes JavaScript code outside of a program.

기업문화 엿볼 때, 더팀스

로그인

/