This is a simple Node.js HTTP server that extracts query parameters from the URL and displays them in the response.
Follow these steps to run the project locally.
Ensure you have the following installed:
- Node.js (Check installation with
node -v
)
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