Skip to content

Instantly share code, notes, and snippets.

@SOliv1
Created March 15, 2023 14:26
Show Gist options
  • Save SOliv1/fcdb58755d4f1ce1a6c8440bef627aad to your computer and use it in GitHub Desktop.
Save SOliv1/fcdb58755d4f1ce1a6c8440bef627aad to your computer and use it in GitHub Desktop.
learn node
https://gist.github.com/00177ed27e79a2bc10a74bc2239eecf3
@SOliv1
Copy link
Author

SOliv1 commented Mar 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment