HotLinks can be set up easily.
- Clone done this repo.
- Bundle
- rake db:setup
- To run the test suite, rspec
HotLinks is a companion app to URLockbox, https://loliveri-hotreads.herokuapp.com, which compiles all read links across users.
GET /api/v1/links
Response: [{ "url":"http://google.com" }]
Returns the top 10 links (most popular in the past 24 hours)
POST /api/v1/links
Request: link: { url: "http://google.com" } Response: 201