How braveset14/info works
This is a small Node.js HTTP site. A browser request reaches the server in index.js, which selects and reads one of three HTML pages or the 404 page, then returns it with the corresponding status. The available evidence is limited to the server entry point; the HTML files’ contents and any client-side behavior are not shown.
Main entry points: index.js HTTP server · index.html Home page · about.html About page · contact-me.html Contact page
Components 6
HTTP site
- HTTP server
index.js - Home page
index.html - About page
about.html - Contact page
contact-me.html - 404 page
404.html
Other components
- Browser
Connections 5
- Browser → HTTP server: sends requests
index.js - HTTP server → Home page: serves at /
index.js - HTTP server → About page: serves at /about
index.js - HTTP server → Contact page: serves at /contact-me
index.js - HTTP server → 404 page: serves unknown paths
index.js