C HTTP Server

This is a simple HTTP server implemented in C that serves static files and supports basic GET requests.

Prerequisites

Before running this server, ensure you have the following installed on your system:

  • C compiler (e.g., gcc)
  • make

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/devimalka/httpserver.git
  2. Navigate to the project directory:

    cd httpserver
  3. Build the server using make:

    make

Usage

To start the HTTP server, run the following command:

./output

By default, the server listens on port 8080. You can access it by navigating to http://localhost:8080 in your web browser.