greyshaman / time_service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

time_service

This is a sinatra application which is provide simple time service It response on GET request /time and show current UTC time

HOW To setup

    1. git clone
    1. gem install sinatra timezone

if you want start multithread web server like thin then do gem install thin. You can use any other multithread implementation.

START WEB SERVER (single thread) ruby time_service.rb

or START WEB SERVER (multi thread) thin --threaded -R config.ru start

About

License:GNU General Public License v3.0


Languages

Language:Ruby 100.0%