Coding-Challenges

Web Server

Description

A basic web server built using Node.js and Express.js. This server demonstrates the core concepts of server-side programming, including handling HTTP requests, serving static files, and managing simple routing. It provides a foundational understanding of how web servers operate and how they interact with clients.

Technologies

Goals

Features

Installation and Usage

  1. Clone the repository:
     git clone https://github.com/OsamaRab3/Coding-Challenges.git
    
     cd Web\ Server/
    
  2. Install dependencies:
       npm install
    
  3. Run server:
       npm run start
    

Note:

  1. Static Files: Place your static files (HTML, CSS, JavaScript) in the public directory. These files will be served automatically by the server.
  2. Routing: The server will serve index.html for all routes. Customize this file to provide different content based on user interaction.