/hackernews-sandbox

A sinatra sandbox for Hacker News API

Primary LanguageRubyMIT LicenseMIT

hackernews-sandbox

A dead-simple sinatra sandbox for Hacker News API

Install

$ bundle install

Run

$ ruby server.rb -o 0.0.0.0

Test

Switch to another sandbox dataset

Sandbox responses are located under /responses/<dataset>, e.g. /response/default, with paths matching corresponding URL segments.