Skip to content

arnabsen1729/http-server-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

HTTP server using Ruby

A simple HTTP server built with Ruby. It simply renders the index.html or other files in the directory.

I have made a detailed explanation here: https://arnabsen.rocks/posts/building_server_from_scratch/

How to run

Simply run the ruby script

$ ruby server.rb <port-number>

Then visit http://localhost:<port-number>/

Final Product

gif

About

HTTP server using Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published