This is a simple Node.js server that serves a "Hello World" message. It also includes a basic HTML page and CSS styling.
Before you begin, ensure you have the following installed:
- Clone the repository:
git clone <repository-url> cd learn-1
- Install dependencies:
npm install
Start the server with:
node server.jsAccess your application at:
- Open your browser and navigate to http://localhost:3000.
Run the test suite with:
npm testYou can also run this project using Docker:
docker-compose upAccess the application:
- Open your browser and navigate to http://localhost:3000.
learn-1/
├── public/ # Static files (HTML, CSS)
│ ├── index.html
│ ├── styles.css
├── server.js # Node.js server
├── server.test.js # Unit tests
├── package.json # Project dependencies and scripts
├── package-lock.json # Lock file for dependencies
├── Dockerfile # Docker configuration
├── README.md # Project documentation