Skip to content

c-vault/http-server

 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.4%
  • HTML 13.1%
  • CSS 4.3%
  • Makefile 1.2%