Git Product home page Git Product logo

webserv's Introduction

Webserv

CodeFactor

This project is about creating your own web server, written in C++, that is capable of running an HTTP server, handling requests, and parsing configuration files.

Collabaration

This project has been created in collaboration between @rkieboom and @lskywalker. We worked together to create a project that met our specific goals and requirements. Through communication and collaboration, we were able to create a project that we are both proud of. We hope that you find this project useful and enjoy the results of our hard work. Thank you for taking the time to view our collaboration.

Prerequisites

  • C++ Compiler
  • Basic Knowledge of the HTTP Protocol
  • Knowledge of Networking

Features

  • Ability to run an HTTP server
  • Ability to handle requests
  • Ability to parse configuration files

Installation

  1. Download the project files.
  2. Compile the project using your C++ compiler.
  3. Run the executable.

Usage

  1. Configure the server by editing the configuration files.
  2. Start the server.
  3. Use your web browser to access the server.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Resources

Nginx server blocks

Binding to host and ports

HTTP tutorial 1

HTTP tutorial 2

Select()

CPP class for every http code

carriage return line feed (CRLF)

Mandatory response headers

Nginx way of handling requests

Rfc explanation about http codes

CGI tutorial/explanation

CGI post vs get

CGI environtment variables

webserv's People

Contributors

bdekonin avatar lskywalker avatar

Watchers

 avatar

Forkers

lskywalker

webserv's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.