Created
March 15, 2023 14:26
-
-
Save SOliv1/fcdb58755d4f1ce1a6c8440bef627aad to your computer and use it in GitHub Desktop.
learn node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/00177ed27e79a2bc10a74bc2239eecf3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create an online version of Rock-Paper-Scissors
where you can play against the HTTP server. Using the http module, we will build a simple HTTP server. We will practice how to route requests based on pathname and request methods. We will also be using other core Node.js components in this project—we will use the fs module to stream HTML files and create an URL object to extract queries from a URL.