,

व्याख्यान 3: पहला नोड सर्वर | नोडजेएस पूर्ण पाठ्यक्रम ❤️ हिंदी में | नोट्स | प्रमाणपत्र

Posted by


नमस्कार दोस्तों, आज के इस ट्यूटोरियल में हम बात करेंगे Lecture 3: First Node Server | NodeJS Complete Course के बारे में। इस लेक्चर में हम सीखेंगे कि कैसे हम अपना पहला नोड सर्वर बना सकते हैं।

NodeJS एक open-source, cross-platform जावास्क्रिप्ट runtime environment है जिसका उपयोग वेब विकास के लिए किया जाता है। यह एक विशेषता से भरपूर platform है जो वेब सर्विसेज की तेजी से विकास में सहायता करता है।

इस कोर्स में हम सीखेंगे:

  • NodeJS क्या है और इसके कैसे काम करते हैं
  • नोड सर्वर कैसे बनाएं
  • पहले नोड सर्वर को कैसे रन करें

तो चलिए इस लेक्चर को बिस्तार से समझते हैं:

  1. सबसे पहले, आपको NodeJS की वेबसाइट से NodeJS इंस्टॉल करना होगा।
  2. इंस्टॉलेशन के बाद, आपको अपने कंप्यूटर पर एक नया फोल्डर बनाना होगा जिसमें आप अपना पहला नोड सर्वर बनाएँगे।
  3. फिर, उस फोल्डर में एक नया टेक्स्ट फाइल बनाएं और उसका नाम server.js रखें।
  4. अब, server.js फाइल को खोलें और निम्नलिखित कोड डालें:
const http = require('http');

const server = http.createServer((req, res) => {
  res.statusCode = 200;
  res.setHeader('Content-Type', 'text/plain');
  res.end('Hello Worldn');
});

server.listen(3000, '127.0.0.1', () => {
  console.log('Server running at http://127.0.0.1:3000/');
});

यह कोड एक बहुत सरल नोड सर्वर बनाता है जो Hello World वाला homepage उत्पन्न करता है।

  1. अब, अपने कमांड लाइन में उस फोल्डर में पहुँचें और निम्नलिखित कमांड चलाएं:
node server.js

इसे चलाने के बाद, आपका सर्वर http://127.0.0.1:3000/ पर चलना शुरू हो जाएगा।

  1. अब, अपने वेब ब्राउज़र में http://127.0.0.1:3000/ पर जाएं और आपको Hello World मिलना चाहिए।

इस लेक्चर में हमने सीखा कि कैसे हम अपना पहला नोड सर्वर तैयार कर सकते हैं। यह एक महत्वपूर्ण कदम है जो नोडजेएस के सीखने के शुरुआती चरण में काम आता है।

आप इस लेक्चर को पूरा करने के बाद सर्टिफिकेशन प्राप्त कर सकते हैं और अपने हिस्सों का प्रमाण भी प्राप्त कर सकते हैं।

इसके अतिरिक्त, आपको Lecture 4: Building a RESTful API with NodeJS के लेक्चर को आगे बढ़ाने के लिए अपना समय निकालना चाहिए।

धन्यवाद! मुझे आशा है कि यह ट्यूटोरियल आपके लिए मददगार होगा।

0 0 votes
Article Rating

Leave a Reply

45 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@amitkushwaha4993
5 hours ago

Great I learn react your react class and make an e-commerce application with react redux and easy learn concept

@harshavardhan7074
5 hours ago

"You're an amazing teacher, sir. Your ability to simplify complex topics and make them engaging truly sets you apart. Your guidance not only helps us understand the subject better but also inspires us to push our limits and aim for excellence. "

@zakariahossain2857
5 hours ago

best explain ❤❤❤❤BD

@StockMarket-up7em
5 hours ago

Sir i just Buy one Premium Course But premium Course is not good but Your this course is good thanks for sir teaching very simple and user friendly keep grow sir and Love you Sir

@needgaming8652
5 hours ago

Thanks sir ❤❤❤

@divyanshuchaudhary3830
5 hours ago

"🔥 Loving this Node.js series! Lecture 3 on building the first server was super clear and practical. KG Coding makes learning Node.js so easy!
Lecture 3 completed😄
Can’t wait for the next one!
🙌❤ #NodeJS #KGCoding"

@GG-561
5 hours ago

Thank you sir 🙏 for providing such valuable courses for free ❤

@Pocketsocket
5 hours ago

I was finding such type course I found it love from ❤Balochistan ❤

@Arfajsheru
5 hours ago

Sir node js ki series me pura backend cover hone vala he means mongo db , expess, mongoose ❤

@tridibkamal
5 hours ago

thankq sr, one of the best channel in youtube .

@Sherystic
5 hours ago

sir i learn react from u i want complete nodejs as soon as possible bcoz the real world examples u give in your tutorial opens our mind alot plz upload these videos quickly plz sir

@dayashankarlakhotia4943
5 hours ago

Thanks 🎉❤

@shamstabrez2986
5 hours ago

acha laga bhai k ap ye series krre ho ab kr hi rhe ho toh hr ek chiz cover krna h from beginners to advanced level and then kaise nodejs ko microservices mein convert krke deploy krskte h ek project b krwa dena

@01sumitardalkar.79
5 hours ago

sir upload next part please…..i cant wait

@slshaiksha6180
5 hours ago

sir may i know the in these series are u covering only node or express js also?

@Bayes-p6z
5 hours ago

Thank You So Much Sir 🥺 for helping poor people like us

@therambler7659
5 hours ago

Please upload regularly, no more delays please!

@pradhumnagaikwad-o1w
5 hours ago

Thank you sir

@sagarkirtakar8252
5 hours ago

Campus placement roadmap recorded webinar is not available 🙏

@uniquemusicgames7536
5 hours ago

Sir make a complete single video of backend

45
0
Would love your thoughts, please comment.x
()
x