00:01 How to handle various requests using Express JS 01:57 Different types of requests in Express 07:01 Handling Post Requests in Express 08:58 Testing put and delete requests in Express 13:16 Using routers and specifying routes in Express 15:34 Using JSON and middleware in Express 19:26 Using Postman to create and test requests and collections 21:06 Postman allows easy export and sharing of API collections. 24:33 Handling routes and endpoints in Express 26:26 Creating routes for different pages in Express. By AI🙂
@owaisnadeem275111 ай бұрын
Extra Ordinary Knowledge shared by Harry bhai in the previous 28 min (for me these are 2hrs) Because I am code along each and everything as per the advice of Harry bhai !!! Love and Respect from Pakistan Harry bhai !!! Khush raho hamesha
@Gaming55-n3t4 ай бұрын
The best way to remember things
@TheLogicalHammad3 ай бұрын
Same Bro
@SANTOSH_Raut11 ай бұрын
Chhumeshwori Explanation. Love your hard work.
@Hafijur021110 ай бұрын
🎯 Key Takeaways for quick navigation: 01:18 *🚀 Handling Post Requests in Express* - Post requests are used to send sensitive information, such as passwords, to the server. - Express provides the `app.post` method to handle post requests. - Post requests have a limit on the data size that can be sent to the server. 03:37 *📁 Sending Large Data with Post Requests* - Post requests are used to send large amounts of data, such as entire HTML content of a page, to the server. - The server can handle post requests using the `app.post` method in Express. - Post requests are useful for sending sensitive information or files to the server. 04:33 *🛠️ Writing and Testing Post Requests in Express* - Demonstrates how to write a post request in Express. - Shows how to format the document for better readability. - Discusses the importance of testing the post request. 05:30 *🧪 Testing Post Requests* - Explains how to test a post request using a script and a sync function. - Shows the structure and function of the test post function. - Discusses handling the post request in the server. 07:41 *🧪 Testing APIs with Postman* - Introduces Postman for testing APIs. - Shows how to install and use Postman. - Demonstrates testing post requests, handling put and delete requests. 09:32 *🛠️ Express request handling basics* - Discusses creating different methods for handling requests in Express. - Explains the concept of chaining in Express, allowing the grouping of endpoint functions. - Highlights the flexibility of syntax in Express for different types of requests. 10:28 *🔄 Chaining requests and serving HTML files* - Introduces chaining of requests in Express, enabling sequential handling of requests. - Explains the need to serve HTML files in projects and how to organize files in a template folder. - Demonstrates using a simple function to render an HTML page in response to a request. 12:27 *🚧 Handling errors in file paths* - Discusses the importance of specifying the correct file paths in Express to avoid errors. - Demonstrates how incorrect file paths can lead to errors and the need for absolute or relative paths. - Explains how to specify the correct file path in the root of a project for rendering HTML pages. 13:58 *📚 Documentation and useful Express functions* - Emphasizes the importance of documentation in coding projects. - Lists and briefly explains several useful functions in Express, such as `res.download`, `res.redirect`, `res.render`, `res.send`, and `res.sendStatus`. - Mentions providing source code on GitHub for easy access and reference by others. 14:25 *🛠️ Creating an API endpoint in Express* - Demonstrates creating an API endpoint that returns JSON. - Shows how to format JSON data. - Introduces the concept of JSON beautification using an extension. 15:44 *📡 Additional capabilities in Express* - Explains how to use middleware in Express. - Mentions methods like redirect and end in Express. - Discusses the use of Postman as a tool for API development and testing. 16:27 *🔧 Installing and using Postman* - Details the installation process of Postman. - Describes Postman as an alternative to Thunder Client. - Emphasizes the importance of authorizing Postman for use. 17:36 *🌐 Creating a new workspace and request in Postman* - Guides on creating a new workspace and request in Postman. - Demonstrates how to name and organize workspaces in Postman. - Shows how to access workspaces and manage requests within Postman. 18:57 *🎯 Handling requests and responses in Postman,* - Demonstrates sending requests and handling responses in Postman. - Shows how to create collections and requests, send requests, and save responses. 21:13 *🔧 Exporting and organizing collections,* - Explains how to export collections in Postman. - Shows how to create folders within collections to organize requests. 22:36 *🚪 Express Router: Organizing routes,* - Introduces the Express Router in Node.js. - Discusses how the router helps in organizing and managing routes in Express. 22:49 *📝 Routing in Express* - Adding routes in Express involves defining endpoints for different parts of your application. - Routes can be organized into blocks, making your code more modular and easier to manage. 23:33 *🚧 Middleware in Express* - Middleware functions in Express can be used to process incoming requests before they are handled by the final route handler. - Middleware can be added to specific routes or applied globally to all routes. 24:41 *🗂️ Organizing Routes in Express* - Organizing routes into separate files based on their functionality can help maintain a clean and structured codebase. - Separating routes allows for better organization and scalability as your application grows. 25:49 *🔀 Handling Multiple Routes* - Express allows you to handle different routes independently, improving code organization and readability. - Each route can be defined and managed separately, making the code more maintainable. 26:52 *🧹 Benefits of Organized Code* - Organizing your code into separate files and folders improves code organization and maintainability. - It helps prevent code duplication and keeps your project well-structured and easier to understand. Made with HARPA AI
@krishnakarule37086 ай бұрын
Instead of formating you can use one extension "preetier"...and thanks for such great course!
@iliot_jupitor11 ай бұрын
Thanks harry bhai because of you mai achhe se or systematically web development ka complete course kr pa raha hu... Lots of thanks to you bhai
@chainsawman-ilia5 ай бұрын
This video should be on 4 million views, stop paying for fraud courses and start watching this top course
@EngineerAnsh6 ай бұрын
00:01 How to handle various requests using Express JS 01:57 Different types of requests in Express 07:01 Handling Post Requests in Express 08:58 Testing put and delete requests in Express 13:16 Using routers and specifying routes in Express 15:34 Using JSON and middleware in Express 19:26 Using Postman to create and test requests and collections 21:06 Postman allows easy export and sharing of API collections. 24:33 Handling routes and endpoints in Express 26:26 Creating routes for different pages in Express.
@HPisGawd11 ай бұрын
18:13 achanak serious to funny mood. 😂😂
@ayan_biswas12349 ай бұрын
I am really enjoying this course 🥰🥰🥰🥰🥰🥰
@_sarthakmisal9 ай бұрын
Haa fir bhi teko nahi milne wala heart
@ayan_biswas12349 ай бұрын
@@_sarthakmisal please, write in english,
@umar422036 ай бұрын
For me thsi is not 27 min , it is 3 hour work. Thanks Haris Ali bhai...
@mubeenkashif11 ай бұрын
#Javascript op #sigmabatchop Love you Harry bhai. Thanks for making this course for free. You are my best teacher.
@Asim_Ali485711 ай бұрын
Thanks a lot sir for providing us such amazing content for free ❤❤❤❤❤❤
@Mr.white200811 ай бұрын
hey harry sir, just came here to tell that I have completed till the netflix clone video and going to start js now in tis course , just wanted to say thank you for this course :)
@RAHULSingh-of4sv11 ай бұрын
Sir ek din 2 videos chaiye thanks for this
@narinderkamboj433511 ай бұрын
This course is very helpful for me thnku Harry Bhai Plz continue python tutorial
@shahzaibch262011 ай бұрын
Love you Harris bhai This course design to advance level Plz
@ranjeetsinghtharu537511 ай бұрын
I am excited about this course,,,,Harry Bhai!,,,learning MERN with you would be a cool experience !,,,,You Rock!
@rifatraffu201511 ай бұрын
That was amazing harry vai ... Keep it up ..A lot of appreciation for you
@KawaiiMariieDubs8 ай бұрын
mai intro dekh kar hi khush hu jaati hu
@01vijayvijay3 ай бұрын
Response method 14:13
@movie_writes11 ай бұрын
finally aaj secong comment kr hi diya mene harry bhai ki video pr
Going to name my village land to yours...but the problem is... I even don't have access to my Village land... 😅😅
@codyandersan11 ай бұрын
Then put it in public folder and serve 😅
@MuhammadAbdullah-l4l8u6 ай бұрын
while returning the html file using : res.sendFile("templates/index.html",{root: __dirname}) error was being thrown that __dirname is not defined to fix that use the code below: import { fileURLToPath } from 'url'; import { dirname } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename);
@kausheyaroy990023 күн бұрын
thanks dude.. on googling, found out that __dirname is not defined for Ecmascript module
@soumikmandal86045 ай бұрын
Can someone tell me more about why was it necessary for Harry to change that POST request part in timestamp 7:09
@JayalaxmiSingh-v1j4 ай бұрын
i am late but answer is that the http default mathod is post
@saththanikaran754211 ай бұрын
Thanks a lot guruji ❤❤❤❤ #Singmabachop Harry bhai is the best guru❤😊😊😊❤❤😊❤😊❤
@victorb226228 ай бұрын
22:00 ओर सब ठीक था कॉपी , रीनेम, फोल्डर क्रिएशन ।whats it's यूज इन रियलटाइम world ये बताया होता तो अच्छा होता बार बार "hello world,,," जैसी लाइन की बजाय
@victorb226228 ай бұрын
13:47 line 22 , इनको root _ dirname name से पाथ केसे मिल गया ।इनको पाथ लेना ही था तो ऑटोमैटिक ले सकता था, same path पर तो थी index.html। App.ger ("index",,,,) का तो कोई रोल नहीं लगता
@ocean_vibes_asmrКүн бұрын
#doubt i got a little confusion that what is server in this case ? js file or html file or browser ? at 9:34
@AbhishekKumar-hz9jo11 ай бұрын
"naam batao --- Bhupendra Jogi" , raise hand if u also relate this 🤣😂🤣
@saifshamil469011 ай бұрын
Java script op❤From pak
@rakib_bhai7411 ай бұрын
Harry bhai Thoda engineering side ka vi baat kiya kro ❤❤ in depth concept
@Engineering_Unlocked13 күн бұрын
Thank you so much bhaiya :) completed on 7/12/24
@emanwebbar11 күн бұрын
bhai ap ko sahi samj arhi hai ?
@Engineering_Unlocked11 күн бұрын
@emanwebbar hn bhai in sbme Mt thoda sa syntax smjh lo or baaki to projects se hi smjh aata h
@emanwebbar11 күн бұрын
@@Engineering_Unlocked ji yeh to hai
@abhinavanand70235 ай бұрын
19:08 pr get request main index.html fetch ho raha hai , and jb express.static ko comment out kr rahai hai tab he hello world print ho raha hai
HARRY SIR #doubt I HAVE DIFFICULTY IN POST REQUESTS, PUT REQUESTS, DELETE REQUESTS CAN YOU PLEASE TELL IN DETAIL POST REQUESTS, PUT REQUESTS, DELETE REQUESTS . WAITING FOR YOUR REPLY. THANK YOU.
@yoursicdrdo22911 ай бұрын
sir I am use a windows 10. I can not use nodemon
@lokeshsingh883310 ай бұрын
yes
@supremeleader55168 ай бұрын
amazing lecture, learned a lot
@pragyas_direction3 ай бұрын
I literally watched the entire video for 3 times and then I understood the concept ... 😂😂
@rawatamit4510 ай бұрын
nodemon is working pls tell .I am strucked in it
@URLate5 ай бұрын
Same problem
@AvishkarDwivedi-y4x4 ай бұрын
just change the package .json file script tag to "scripts": { "script": "nodemon main.js" }, whatever js file you are using and try to install on cmd avoid it on powershell(if using windows because it default deny the access or you have to make changes as administrator and restart it
@Good_boy90511 ай бұрын
Harry Bhai please include react js in this course
@Smile_please11511 ай бұрын
Or kitna video baki hai sir total kitna hoga
@sahilraut33129 ай бұрын
nodemon is not installing on my system when i run nodemon main.js command it is showing nodemon not recognized as output please help
@abhijeetpattanaik30849 ай бұрын
bro have you fixed it...
@sahilraut33129 ай бұрын
@@abhijeetpattanaik3084 yes bro
@a_r_kedits9514 ай бұрын
Same problem
@cricket_streaming110 ай бұрын
amazing harry bhae
@muhammad_umer_nadeemАй бұрын
Great Work
@hajimeippo8049 ай бұрын
Thank you very much Harry Bhai.
@MD-HB11 ай бұрын
sigma batch OP❤❤❤❤
@Its__AnkitSahu11 ай бұрын
Bhupendra Jogi OP
@Manju047999 ай бұрын
What is the use of routes we can use the templates na instead of routes to serve the pages 🤔
@Own_joker_editzАй бұрын
SIGMA BATCH OP 🎉
@m._a.n.i.k6 ай бұрын
#harrybhai : Seriously high level stuff this is :) lovin it
@ajityadav125111 ай бұрын
best course ever
@sharadah175111 ай бұрын
Thanks Harry sir❤
@hameedcodes11 ай бұрын
harry bahi zindabad my great sir make one video on top website for web development jobs in 2024 , and also sir mention the salary
@moazzamalisoomro671411 ай бұрын
Harry Bhai I am your biggest fan from pakistan, Alots of Love from pakistan for u ❤ Harry bhai your all videos are awesome , Excellent content everythink is up-to-date And your this sigma web development course is mind blowing 😍💫❤⭐ Harry bhai can u plz make a video on This how to make your linkedin profile attractive to recruiters And also github account if you are considering it i am very very Thank full to u Harry Bhai ❤
@adityanarayandewangan781111 ай бұрын
Sigma batch OP Javascript OP
@Newcoderiuhg11 ай бұрын
Sir please bta dijye nimcet ke baare m ❤❤❤❤❤❤❤❤
@gamingadda749211 ай бұрын
Bhaiya react express ka bad cover hoga?
@AliHamza-n6e11 ай бұрын
Bahi na already cover kia howa ha playlist access karo harry ki
@sksahinparvej55003 ай бұрын
To be honest pichle 2 videos se dimag ka bharosa ho gaya hai
@mayanksingh72292 ай бұрын
sahi kaha bro
@TechGeeks6911 ай бұрын
harry bhai kitne mahine tak chalega ye course btw bhut maja aa raha hai course mein #sigmabatchop
@saradagarwal18273 ай бұрын
Bhai... backend apka thora tough hi rsha h frontend se...ab 😢😢😢😢😢😢😢😢😢
@Hezal-kj4qb11 ай бұрын
Express k Baad React Chalu hoga Bro?
@Android-1711 ай бұрын
18:13 😂 #JavaScriptOP ⭐ #SigmaBatchOP 🔥
@fatemamotiwala855411 ай бұрын
#Doubt .. I am able to execute the POST request but not the PUT and DELETE . It gives error 404. please guide why this is happening?
@avijitdey699810 ай бұрын
same jesa dikhaya use kiya? html ki script pe method put karo aa jayega
@avijitdey699810 ай бұрын
aur postman se karo toh easily ho jayega
@AN_Bhagat11 ай бұрын
#SigmaBatchOp #Javascriptop #Harry sir❤❤
@samdeepsharma95211 ай бұрын
just requesting to integrate with react after express and mongo... ✨
@Fahad090NPАй бұрын
Yeh 'JavaScriptOP' kia hota hai?
@ashutoshsingh1621Ай бұрын
Thanku harry sir
@mg-ub3sf11 ай бұрын
Sir I have a question ❓ : if I am from BA background. Can I do coding . Can it cost me my job. Please answer the question sir🙏 sir I am very worried about this
@mixmashmoments_34211 ай бұрын
Same question...
@nikhilbasir2 ай бұрын
if someone has made the notes of this backend series, can you please share with me it will be of great help
@Stark7_World11 ай бұрын
JavaScript op ❤❤❤
@rushikesh_10x7 ай бұрын
Plz anyone help me, after running the express js file in terminal I'm not able to type in terminal for nodemon how can I type in terminal plz help
@shreyanshdas96117 ай бұрын
do you have mac?
@rushikesh_10x7 ай бұрын
@@shreyanshdas9611 i got the solution
@Code_gen6 ай бұрын
Same bro
@ZaidInMeditation3 ай бұрын
ctrl + c
@Aparichit-G9 ай бұрын
#doubt : why harry bhai created a new folder....is it compulsory coz every time we need to install express
@nomatterff89189 ай бұрын
no it's not important he creating new folder for his vidios eg vidio No 89
@TheLogicalHammad3 ай бұрын
Sigma Batch OP
@MasterCode-ny1tx10 ай бұрын
Harry bhai mere pc par nodemon chal nahi raha Error : nodemon : File C:\Users\prati\AppData\Roaming pm odemon.ps1 cannot be loaded because running scripts is disabled on this system. Ye error a raha he iskeliye apkepas koi solution ho to batai. mujhe unrestricted wala method pata hai par wo security warning throw karta hai isliye mai use karne se dar raha hu apne kaise is problem ko sole kiya bataiye please
@slowReverb-q2q11 ай бұрын
Harry bhài please Kuch tips btao jis Sy JavaScript py command hoo jaiy sahii Sy nhi hoo rhi please before ending this course please 😢
@zuberkhan305011 ай бұрын
#SIGMA_BATCH_OP❤ #JAVASCRIPT_OP❤
@AnkitFreefire6910 ай бұрын
Aasan hein (sandip maheshwori)
@narendra-mahto764911 ай бұрын
Gaon aur taw ki jameen aapke nam❤
@NoobCorporations11 ай бұрын
Mere Wale m nodemon main.js work nhi krr rha h error dikha rha h 😢 Please tell me how to fix
@narendra-mahto764911 ай бұрын
@@NoobCorporations same problem but i fixed it , i am sending a video link ..
harry bhai ... whenever you are writing code on terminal please change your face position to left side...as some code we cant able to see.... thank you....@CodeWithHarry
@RohanDasRD11 ай бұрын
left mein hi to hai :)
@vaibhavyewale914011 ай бұрын
@@RohanDasRD in previous 2 videos
@Asim_Ali485711 ай бұрын
Harry Bhai will we be using express generator in this course or not
@codewithHoney8 ай бұрын
Thank you for this amazing course💖
@shyam8th13 сағат бұрын
javascript op🔥🔥🔥🔥🔥🔥🔥🔥
@codewithnaim52911 ай бұрын
#JavaScriptOP 🔥🔥🔥🔥
@NoobCorporations11 ай бұрын
Mere Wale m nodemon main.js work nhi krr rha h error dikha rha h 😢 Please tell me how to fix
@AliHamza-n6e11 ай бұрын
bahi jan install kia nodemon ko??
@AliHamza-n6e11 ай бұрын
ma kar deta hon meri jan tesion na la
@arslanshah747210 ай бұрын
harry sir react-natve ka course be include hai is course may