Skip to content

aminelebrini/NodeJs-Projects

Repository files navigation

Node.js HTTP Server

This is a simple Node.js HTTP server that extracts query parameters from the URL and displays them in the response.

🚀 Getting Started

Follow these steps to run the project locally.

1️⃣ Prerequisites

Ensure you have the following installed:

  • Node.js (Check installation with node -v)

2️⃣ Clone the Repository

git clone https://github.com/aminelebrini/NodeJs-Projects.git
cd NodeJs-Projects
3️⃣ Install Dependencies (if any)
This project does not require additional dependencies. However, ensure your Node.js environment is set up.

4️⃣ Run the Server
Execute the following command:
node server.js

5️⃣ Access the Server
Open your browser and go to:
http://localhost:8080/?year=2025&month=February

You should see:
year and month