what is expressJS ? ExpressJS kya hai

📔 : ExpressJS 🔗

ExpressJS एक Node.js web application framework है जो हमें required interface, tools ready to use functionality provide कराता है। इसके साथ ही यह web और mobile application develop करने के लिए robust set of features भी provide कराता है।

ExpressJS fast, flexible , robust और asynchronous framework जो server और routes को manage करने में help करता है। इसे TJ Holowaychuk द्वारा develop किया गया था और Node.js foundation और अलग अलग open source contributors द्वारा manage किया जाता है।

Advantages of ExpressJS

  • Fast I/O

  • Asynchronous behavior और single threaded

  • MVC की तरह structure , मतलब हम चाहे तो MVC (Model , View , Controller) structure में application develop कर सकते हैं।

  • Easy routing

  • इसकी help से हम single-page, multi-page और hybrid web applications develop कर सकते हैं।

  • Easy request handling process

Express Server Example

// import express module. const express = require('express'); const app = express(); const port = 8000; // define route app.get('/', function (req, res) { res.send('Welcome to learnhindituts.com'); }); //listen server. app.listen(port, function () { console.log(`Server is running at http://localhost:${port}`); });

Related Topics :

Rahul Kumar

Rahul Kumar

Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)

Get connected with me. :) LinkedIn Twitter Instagram Facebook

b2eprogrammers