https://github.com/mathdebate09/basic-informational-site
A simple Node.js server that serves static HTML pages
https://github.com/mathdebate09/basic-informational-site
Last synced: 5 months ago
JSON representation
A simple Node.js server that serves static HTML pages
- Host: GitHub
- URL: https://github.com/mathdebate09/basic-informational-site
- Owner: mathdebate09
- Created: 2025-04-27T20:58:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-28T19:18:19.000Z (about 1 year ago)
- Last Synced: 2025-05-27T19:11:28.247Z (about 1 year ago)
- Language: HTML
- Homepage: https://99b952fc-bd8b-4aec-a046-779ffe2dc697-00-2f7e2nycml7xr.pike.replit.dev/
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Informational Site
A simple Node.js server that serves static HTML pages
> [Live website](https://99b952fc-bd8b-4aec-a046-779ffe2dc697-00-2f7e2nycml7xr.pike.replit.dev/)
## Features
- Basic HTTP server implementation using Node.js
- Serves static HTML pages
- Custom 404 error page handling
- Simple and clean URL routing
- No external dependencies required
- Easy to understand and modify
## Tools/Languages
[](https://nodejs.org/learn)

[](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
[](https://developer.mozilla.org/en-US/docs/Web/HTML)
[](https://docs.replit.com/getting-started/intro-replit)
## Getting started
- Make sure you have [Node 20.xx.x](https://nodejs.org/en/download/package-manager) or higher and [Git](https://git-scm.com/downloads) downloaded
```bash
git clone git@github.com:mathdebate09/basic-informational-site.git
cd basic-informational-site
node index.js
```
## Learning Outcomes
- Implemented a basic Node.js HTTP server from scratch
- Learned about file system operations in Node.js
- Gained experience with async/await patterns in server-side JavaScript
- Understanding of basic URL routing and request handling
- Implemented proper error handling with custom 404 pages
- Experience with serving static HTML files
## Code snippets
- W3Schools: [W3Schools NodeJS Tutorial](https://www.w3schools.com/nodejs/default.asp)