No, Jessisjust a wayforyoutorunJavascriptoutsideofthebrowser.
ItcouldbeusedtorunbesthopabsserverswerereallyanythingelsethatyouwanttodowithJavascript, andthethingthatwe'regoingtodoisactuallycreate a WebserverusingknowJs.
Sotogetstartedwiththat, whatweneedtodoiscreate a Javascriptfileinsideofourproject, andwecouldjustcallitwhateverwewant.
Inourcase, we'rejustgonnacallitapdotJsandinsideofthisjobscriptfile, weneedtocreateourserverandtellittostartlisteningon a certainport.
Sothefirstthingweneedtodoisweneedtorequire a certainlibrarycalledhttpthatisgoingtobeusedtostarttheserversowecouldjustcreate a variablecalledhttpandtorequire a libraryinknowJsyoujusttypetherequirekeywordfollowedbythenameofthelibrary, whichinourcaseisHttp.
SoifwesaythatwecallnotenotabJsinsideovercouncilagain, andthenifwejustopenedup a browserandwegoto a localhost 3000 you'llseethatwegethelloloadnodebeingprintedoutintoourbrowser, whichisamazing, butweprobablywanttoactuallyrenderHTMLfromourWebserverratherthanplaintext.
SoweneedtoimportanotherlibraryintoourappdotJsandthisisgoingtobecalled F s.
Wejustrequiredthatlibraryjustlikethis.
Andnowwehave a variablecalled F s thathasallthefilehandlingthatweneedtobeabletodosodownhereintheAPPDigest, whereisgoingtocallthereedfilefunctionof F s.
Andifyou'reinterestedinlearningmoreaboutnojazz, makesuretocheckonmynextvideooverhere, whichisgoingtobeabouthowtosetuppaymentsfor a shoppingcartthat I createdinmyintroductiontoWebdevelopmentplaylist, whichisalsogoingtobelinkedoverhere.