Skip to content

jalletto/ruby_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Server

A simple http server built for my own education.

Run ruby server.rb to start the server on http://localhost:9292.

Routes

  • /time returns current time.
  • /facts displays a list of random facts read from a CSV file.
  • /facts/new a form to add a new fact to the list
  • /fact/:id to view a specific fact.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published