Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.25 KB

File metadata and controls

24 lines (19 loc) · 1.25 KB

Basic Ruby Server

#Summary This is a basic ruby server created by me and two other members to find out how web servers work and understand the way web servers receive and respond to requests made by clients, while also polishing up our ruby skills and utilizing good software engineering practices. This web server can receive get requests and delete requests, and also has user authentication and CGI scripts and also utilizes aliases.

#How to run To run the server, open up terminal and type irb -r ./server.rb Then type WebServer.new.start

To send requests, you can use both curl and the browser. To do it from curl, you use the command curl http://davidchau95:chau@localhost:56789 into your terminal. To do it from the browser, enter the url localhost:56789 into your browser.

#Create requests To create the various requests (using curl):

#Team Members David Chau Eric Chen Kenneth Shen