Node JS in Telugu | Node.js Tutorial for Beginners in Telugu

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
we are actually concentrating only the part of reactions so react.js and eddie it is a front-end technology the new system on the front end part of application martin and okay so monumental full stack applications like month stack applications develop share intermittent meaning and back-end technologies as well so back-end technology means uh nodejs express js and the mango db evening could have backend technology okay now so then of course may we actually get started with the today note change so euros not notice with them in upcoming session slow we'll start working on express js in the mongodb all right we'll get start now so first thing what is node.js so node.js node.js it is not in a programming language okay and the node.js is not in a framework so in the course of making the day most of the people were actually comparing and node.js with asp.net and ruby rails and the job and the django so you movie technology smith comparison just so trust me it is not in a framework okay so at the end of bro node.js and the framework command that is okay programming language then what is no change node.js is a runtime andrometer for executing a javascript code monica javascript courtney server side execution used as a environment okay guys what is mean by node.js and node.js you should see manum 820 kind of back-end api service now okay services both mobile application and web applications all right guys and uh futures node.js okay future sentence node.js is for uh using and uh you know node.js is for developing and highly scalable and uh data incentive applications okay a highly scalable application does challenge we will use our node.js bro node.js used to see highly scalable applications multiple of frameworks like ruby rails and django we strongest kind of environmental setup or something okay so that is with the first point denoting node.js is easy to get started when you get 20 uh you know additional softwares apart from node.js we doesn't want any kind of uh softwares for executing nodes uh executing uh node.js programming okay and one more thing is that we doesn't want and a bigger kind of environmental setup okay like path apart from environmental uh parts itself and connect on the kind of activities good money to the he is actually developing an application work application develop just not a 10 days car and that too by using an django are something like asp.net our programming languages of particular frameworks use csc is actually developing an application for the 10 days kanye person b so maybe like miranda person b so miro okay particular application developers now same application person here developers an application application only the reason behind that is it is uh open source libraries we have multiple things when there are equivalent coverage we can able to utilize the same kind of functionalities and we can able to develop and highly scalable and less weight application okay guys we have them in and the last but not least it is a very interesting thing everywhere is javascript one program which is british whatever you listen to javascript only okay javascript we doesn't need any other kind of programming languages apart from javascript for vocoding in node.js okay all right channel what is the speciality of node.js i hope and uh notice of workflow around the monitors so usually the it is an asynchronous by nature okay by nature it is asynchronous asynchronous meaning indented it is a non-blocking kind of operations okay either non-blocking kind of operations perform test manager like example is not japanese this is the best example so user dependency like not any user multiple user documents in multiple requests currency and at the same time what i need to code it can able to handle the response okay so the meaning behind that is it can be able to handle multiple requests at the same time okay multiple requests at the same time uh multiple requests key responses okay that is an asynchronous [Music] okay [Music] but uh you know using a django or using an asp.net above ruby rails we done it in usa we cannot be able to handle the two requests at the same time okay that is a speciality of node.js this is a workflow of the nodejs excuse me and my node.js we're going to put on these many modules you know first thing http request and the file system you know module and then url module and the node.js and pm and the node.js email so we turned it to the monitor code now send these are the most important concept that we need to know in the nodejs if there is content support we can able to uh node.js commission we need and a few things that isn't node.js software so node.js softwares you know node.js dot org website keller nd you can found an um you know two different kind of versions of node.js there so mirror maximum you put recommended for the most user network they're not downloaded in the content this will be like most stable one okay so the download system so if you are using a windows just try to open command prompt or if you are using a uh you know mac os try to open a terminal okay open this command just provide a name uh comment like and p excuse me not an npm no iphone iphone version uh we'll start recording in the first concept called http module so focusing on key i have been creating a folder so you fold up me you know okay little open just nano that is called a visual studio code for practicing and coding all the nodejs coding so could uh uh uh you know if you ask me which is the best editor i will say no i will say visual studio code so then use chassis uh practice cheney that should be better in the ghost monday there will be having a lot of web development tools i'm trying to open a visual studio code from the terminal i'm trying to close the you know command prompt here it is opening yeah if you got it it is open so a particular folder load we have only an uh one json file so let me tell you that i just done new chassis will perform some kind of an operations later at present uh uh we'll create a new file for for practicing our node.js okay so first i'm trying to create another file called sub server dot js okay server.json okay file creators if i know i'm going to start recording and http module okay so student guides the particular http module you should see we can able to create and the server okay okay particular uh server nick ratchet channel okay we have to import those things okay i mean we have to include all those things including i'm using an about keyboard and mention like an http is equal to required http okay that should be enclosed in single things that's it so everything one has to deepen import it just for now input is not unusually we have to create a server for creating a server i'm i'm trying to create by using an http dot create server okay that's it so we create server mono server create json i would like to run our server in the format of eight zero eight zero port a particular functionality it will take an argument that is in a functional argument a functional argument the content is that will be rendered in the browser simple so this function will take two arguments one is an request okay and another is response so you request news just money operations all those i mean this is a response i mean highlight just now they put response reason in the response so browser 820 kind of content display nagani it is very easy guys okay trust me so last work it shouldn't be in the course in between like a drop-off all those things are very easier okay superman uh if i want to display um you know hello world in our server then i can use another response dot right simple so write operations will actually generate our content to the browser okay like i'm providing like a hello world simple so once monaco service of monica responds and returns then we have to end the response that is the most important thing so response dot end okay so all right so we'll start try to run the server on server start shell and day we have to save the file and we have to open the terminal maybe we try to scroll up somehow okay now for the starting uh node we need to use our node server dot js so you close to server under the don't think it has a server keyboard it is in a file name okay i'm going to create another file name okay then start sharing i'm trying to uh hit that enter hitches and eventually it will start uh server under eight zero eight zero port but running in the level we ought to mention somehow console law console log of uh server running okay acknowledgement person server running so [Music] okay so we'll go to particular uh browser and we'll try to run our localhost 8080. okay simple so in ranches and event in a i am getting as in hello world you can see right how it is possible this is possible only by http create server so you can unfortunately it is console logging server is running in this simple guys it is very simple to handle an http request and http module under gooda it is like piece of cake okay okay that is by uh possible by the request argument that is very simple first need a valid slash products okay so products and synthesis and eventually your products and a value i want to utilize in our programming and we have to render the same in the browser okay use this koni when a browser edits a we need to use the request argument in the case of pandora i'm copying it i'm trying to replace this particular uh you know write by breakfast dot url okay when it requests we are trying to send them response to the browser let me save this file save this nano first save and uh will start running again so in the cosmetic monitor node 1 is just under we're just using a node nodemon usa little node 1 you say she doesn't want to save and execute again and again and enter but since we are not using a node mod we have to uh re-execute the things for each and every small change okay so uh enter just now hit enter just now just know which one you can i got slash products okay you're gonna slash items which aren't funny slash items can you see this see within the when the browser will pass through the parameters we can able to utilize in our code by using a request parents okay request argument used is we can able to work with the same at the same time response and identity response and then you see we can able to write whatever thing to the particular browser monica browser is in a content display we need to use and the kind of audience response within a right keyboard okay that's it guys we can easily understand them so this is all about and now a http model so http module we have to work on file so for importing our file system i'm using an first keyboard or maybe like a reference variable i'm using a required required of first so you have to send an intention it is in a file system that is the most important thing all right so okay guys we could underscore so i'm trying to use fs first dot uh i would like to read the file [Music] any kind of functionality okay kind of one of the files we need to have in a file i'm creating a text file here so i'm clicking on the text file the name of the file is text i mean test okay not low i'm making like a hello hello everyone simply or like and i have a great day something like that says content is just now i'm saving this file i am closing this note uh you know txt file text file and dhani i have to use uh you know the path of that particular file so same path there is no problem so direct command file name is just question so you read file energy it will take in a two argument one will be the file name okay so mentioning the file name like uh the name of the file is test test dot txt and the second argument will be like an arrow function okay that may be like not only error function might be in a normal function is also enough if function low it will take in two arguments one is an error okay and another is a data so error then goes permission [Music] when trying to store it in data variable okay on the data opening direct guy response dot right okay write off data simple okay once response sentence i'm going to close the response simple by using this we are trying to send it to the browser browser a display channel okay i'm saving it i'm trying to break the statements i'm trying to read in the server okay let me remove all these kind of things in a refreshing event can you see this everyone hello everyone okay so same thing if i do some modification in this txt file so takes differentiator in the modification like have a grading he'll have a gradient so he changes any perfect reflector and it refresh it has been changed okay oh i'm sorry for the spelling mistake i'm saving it out and refreshing here surely when it changes you know file changes in coda we can able to handle it in the format of read file okay i mean the file system model file system module there are we can able to handle so bro mirror or profile research at the same time find override change okay finally then yellow overhas another adjustment thank you on anyway then question i'm using in a file system module with an append file okay additional actual existing file key we have to use an file append okay so will you and then it will take three arguments so first is the file name and the second argument is it is all about hand the content that you're trying to append okay you know my existing failure content is okay like name thank you now i'm using the same i'm saving it i'm i would like to terminate and return the server okay it is running out simple you know previous okay so refreshing eventually oh we got an error so we'll check now either it is added yeah it is added okay so but uh just ignore this particular error warning underneath the container captioning i mean a replay statement okay not in a cl not in closing something okay so for that i would like to use a functionality called write file okay you write foreign it will also take you know three arguments first argument for the or the file name and the second argument for the content that you would like to provide and that should be replaced by the existing content okay so in place you know okay i'm saving it so i will try to restart the server okay server is starting and the okay so it's actually executing now so can i see this now so proper monika previous data energy remove a previous data it has been it has been replaced by nodejs okay when previously indeed uh have a great day thank you so danny represent content at the past content like no json node.js so that is a functionality of right file so either right foreign the new file with the content that you're providing all right okay guys so delete change so simply i'm using a same file system module so we have to use an unlink functionality so unlink injuries it will take an only two arguments one is the file name that you would like to delete and second thing we doesn't want any kind of overriding content and the tag thing is we need an arrow function or the function with only one argument if it doesn't want two arguments since one day we are not getting any data to display in the browser browser display shader goes from a to data you see it love okay in the directory that delete the shape up now finally so because of that i'm using only one argument but we have to check so if there isn't any error so in the course time update will throw another uh through we have to handle it so i'm trying to handle it by using an throw functionality all right and then i'm trying to console log uh delete and then delete indian chapter and question i'm trying to console log file deleted okay simple i'm saving it i'm going back to the uh you know the terminal i'm trying to re-execute this one simple so this time i'm refreshing the browser that's it so can you see this below in the question and refresh is not an activities and is can you see this there is no file like txt you know test.txt okay it is actually deleted so yeah dragon is deleted on the picture only that is why it is deleted file alright so [Music] and then now we just move on to some other concept okay some other modules that is called url model so url module money in the coursing issues for handling all the uh urls when url passed yesterday to use an url module okay so i'm trying to remove entire code so we'll start opening a stretch okay one of the url module name monica project uses column okay first we have to import it okay i'm trying to import an url module [Music] so first i'm creating a variable called adrs address and uh i'm trying to equating within some values okay so some a url literally even the host name as well okay and kosum i'm trying to create an um variable like q so in the low we usually need to pass the uh data of the url okay we have to pass it okay now go some url dot pass so pass and it's strike opening but it will work okay don't worry so in the law i'm trying to pass an address and like an adrs that we are trying to work out on the same and the second parameter has to do with cosmetic at present we are going to work on this particular url and chapter question okay all right so you know simple the console objection currently so if i would like to know about an uh the host name secretary host name and t so the host name is like an abort uh local host eight thousand eight zero eight zero same thing simple um you know url passes just get yourself can you see this it is showing localhost 8 000. so not only this kind of even the path name so it could be a path for parameters i am trying to execute the same here can i see this it is under the home page path simple everything on a multiple kind of queries maybe if i would like to know what is the params that we are getting a url module and how it will be used under our node application only okay and then we're going to work out on uh node.js npm okay so node.js npm on the intent it is a node package manager so you know package manager htc we can able to perform multiple kind of activities okay so usually we having a larger ecosystem of uh libraries depend on the previous slide law so let me go to that so you know that point entered a larger ecosystem of open source libraries we can able to import manually libraries i mean not importing install installations we can able to utilize in our real-time applications as well okay for that i need to go to the same directory of the browser so same directory i'm going to open my terminal uh usually the command prompt okay open just if i would like to install any new package manager i would use an npm i and i would like to install an upper case any of the particular uh module under the package and install this so you just never think maybe it could take some time to uh download our uppercase you know library module in the person it is for uh uh using and now it is for actually converting in our lower case kind of thing to the upper case okay so we could mean start very fastly simply let me try to remove all those things let me create an http request first and the gossamente we're going to work out on the http browser and display character so browser display and we have to use a histogram first that is the most important thing okay so i'm trying to uh imported and i still do very close and then i'm trying to use an um uppercase thing by using a variable vc i mean you see from the value of importing module name called uppercase okay when you play the import just now i mean you play the instagram so that me import this could not be the variable name called you see okay all right first http dot create server that's it so create system server it has to be listed under eight zero eight zero portal that's it so one of us arrow function is the normal function and that will take another two arguments one should be an uh request and another should be response it is very simple okay a lot of response news i would like to you know uh print and some kind of content by using an upper case so i'm trying to just written the response so response of right so response of writing a then question for displaying the content in a browser okay so first i am going within hello world this is a very world example that we have already seen okay when i'm already choosing the area don't worry about it but indonesia we're going to use like an upper case kind of thing okay the first normal princess and after executing the thing i'm trying to stop the server okay let me try to run the file first and going back to the browser and i'm trying to refresh here now we got an hello world that is a normal thing but in the upper case a model instruction will actually convert our content to be the upper case okay and save just now so first you know stop the server and we have to restart it because we are not having a node node monitor servers okay let me refresh now can you see this so this is how our functionality will go so we keep articulating like uh how we can able to install an npm modules and how to utilize all this kind of stuff okay so not only uppercase mom real-time low you know kind of uh modulus me real-time low i mean packages just okay all right guys what is the usage of an npm so we now work on the part of node.js email so node.js and in the s um nodejs node mailer modulated it's a modern importance i'm going to open the terminal or the command prompt that we call under uh windows maybe most people called as a terminal in the mac waves that is that is true so he plays when you know input is quarantined i mean instead of just excuse me so the module name called node mailer okay so i'm hitting enter so enter there is no problem i'm closing the file i'm going to utilize the uh you know node you know node mailer and i constantly heard you say but now you shall see let me try to send an email it is very interesting guys so first then questions first okay i'm trying to import with the same name called the node mailer is equal to required node mailer that is easy and uh then i would like to create now uh transporter transporter there goes my transport or the transporter uh let me try to have a name called the transporter that should be the better naming convention for me so uh i'm not importing anything it is in a uh you know it should be like an object of node mailer i'm creating a node node mainly dot i would like to create on a transport so whenever transporting creatures okay like okay we have to create a transport okay all right simple one transport and the greatest num and we have to mention the service it will take on a two different thing one is in a service and then authentication credential so i'm going within the service so service uh service center gmail gmail service navi so gmail service news nano and i need to like a username and as the format of an user so my email is a guru okay gurudev techno okay excuse me okay go to their techno at gmail.com simple super you know what i'm using here so i'm using my mail and uh email or [Music] so i'm providing my password of my gmail so it is a testing don't worry i will remove after uh this particular video is published okay all right so which means you know options and your variable storage is for nano so our particular you know variable low i'm going to have it now uh you know the the form of an object sandal i'm going to use like in a form here so form low i'm going to provide and you know not know form it isn't a from so wherever they're going from our main radio okay i would like to copy this mail and i would like to replace here okay two address okay for the two quarters i would like to get and the body i'm going with that's easy that's that's easy something that's uh easy to use some kind of body okay that's easy to use lsn chestnut okay so transporter to send the mail okay so i'm going to use like a transporter that we are using on a variable name here so we verify we are trying to send it because uh transfer renault creatures that's it very simple same mind but uh your work is sincere those details under the options so options are known the other data center options on a variable okay and then it will taken a second argument called the error function other mobile like in a function there was one day if there isn't any error we have to control the error error success messages on the printable very simple so then of course i mean what i'm going to do here i'm going to use like an error for handling an error on the info for handling the information if goes well okay and then i'm going to utilize here the if if you're facing an any error then we have to console that particular error okay so i'm trying to console log that particular error and then what i'm going to do uh if you are not facing any kind of mirrors then we would like to console log like uh or email is same something like that okay i'm trying to consider log uh like email is sent simple so you put in a program execute chase eventually okay that should be good i'm saving it now so save json i would have to start the server so i will try to stop and start the server i'm trying to restart the server yeah so we got here so uh because we got a response proper responsibility the respondent not a username and the password is not accepted so that meaning indeed it is both the username and the password is correct either a password username correct it's not acceptable the reason behind the reason the authentication that we are actually actually trying to access from the different application okay like this can you see this so the same main idea that we are actually trying to access shiny nettles was blocked okay someone actually uh uh trying to access your account using a password so same thing applications at the same time in anything i i just want probably it was not it was me it was me and chip and i went in that day if you you know it was me and chip and tata if you try to execute the same again then it will be able to accessibility okay yes it is it was me and the cliches definitely enough okay different application energy they were trying to attend they were trying to make and shine an atom uh attempt under the google blockchain using an http um you know the model so and then i'm trying to create a server for creating a server i'm trying to use an http dot create server so it will uh try to listen our server based on our willingness so it's really never encouraged that is a common thing for my end and it will take an argument called the request and response parameters argument okay so you place to it will take a request okay and then response so response it will totally depend upon the as well so file system management as well okay i'm trying to ifs i'm trying to import as nfs and that should be good so we are imported see pre-place flow i'm trying to read the file so i'm using an ifs dot excuse me what was happening there so it is not an rs it is an fs first dot i am trying to read the file simple read shape or file so data dot json that's it so uh this is just gonna uh responsibly i'm checking that is that any error so it is an error in the pictures now if i reach set up if there is a no error then i'm trying to run in our server server we have to written the response by uh you know response dot you know response right that is simple response is right and we have to send the response that we are getting but we're getting his data simple and then we're going to uh stop the server we had in the server of after uh written the response you have in the response okay and then we have to console log console user convention so api is running on it okay api is running simple i'm saving it out so let me try to re-execute the server by stopping out okay i'm trying to re-run that again so wrenches i went in a i'm going back to the browser uh i'm trying to refresh this page we got it so this is all about an api data preview data so it consisting of an n number of now objects inside of an array it is that's it that much simple so either host is important like uh we have multiple different type of hosting panels like uh godaddy and an aws it would be kind of a hosting functionality you know we can able to do a lot many things new looks like shiny practice handy that should be more better and more interesting okay guys then this is all about our uh node.js course of today so making video someone said it won't be china dotted now please take me in the comment section and as soon as possible to replace some guys okay and then request guys we're gonna come on the channel the first time just some day please do like and subscribe it will actually motivate me to do lot more videos you know in the part of web development development and thank you so much for watching
Info
Channel: Telugu Skillhub
Views: 9,796
Rating: undefined out of 5
Keywords: node js in telugu, node js course in telugu, node js crash course in telugu, node js complete course in telugu, node js tutorial in telugu, node js full course in telugu, node js telugu tutorial, node js telugu course, what is node js in telugu, what is the use of node js in telugu, node.js in telugu, node.js course in telugu, node.js tutorial in telugu, node.js, node.js tutorial, node.js course, node js training videos in telugu, node.js videos in telugu, node.js course videos
Id: MY2Vxtfn5Tw
Channel Id: undefined
Length: 47min 33sec (2853 seconds)
Published: Mon Jun 21 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.