Simple Routing using if else block in nodejs using http module.

Publié le: 28 mars 2024
sur la chaîne: Avinash Ketkar
4
0

You can get source code for this video in github repository at:
https://github.com/aviket/nodejs-youtube
Code for each video in this playlist is present in a separate branch.
For this video its in "express-server" branch. Do this in the terminal
__
git clone --single-branch --branch http-server https://github.com/aviket/nodejs-yout...
__
Routing , that is , navigating to different pages in a web app that uses http node module is achieved using the "url" property of request object.
Response bodies are conditionally prepared , depending on the request url.
#nodejs
music by:
'The Long Dark' by Scott Buckley - released under CC-BY 4.0. www.scottbuckley.com.au


Sur cette page du site, vous pouvez voir la vidéo en ligne Simple Routing using if else block in nodejs using http module. durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Avinash Ketkar 28 mars 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4 fois et il a aimé 0 téléspectateurs. Bon visionnage!