GithubHelp home page GithubHelp logo

thom-nic / dogelist Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 832 KB

Craigslist in Dogecoin

Home Page: http://doge-lst.rhcloud.com

License: Apache License 2.0

Shell 4.66% CSS 6.80% CoffeeScript 86.45% JavaScript 2.09%

dogelist's Introduction

Dogelist

Craigslist in dogecoin/ Bitcoin

Build Status Dependency Status

Basically this runs a craigslist search and returns prices of for-sale items in dogecoin (actually bitcoin right now, I can't find a direct USD to DOGE conversion.)

Motivation

Attempt to make a web app that's highly tolerant to network failures through a combination of agressive caching and clever UI feedback. Also an exercise for me to play with Backbone and CSS3 animations.

Caching happens at the app server level in case a dependent service is unreachable (Coinbase or Yahoo QL.) Caching is also done at the client level via localstorage.

UI should be as responsive as possible, e.g. pull from localstorage first and then replace the results as the HTTP response comes in. Also the UI should clearly indicate the freshness of the data. E.g. slowly fade the dogecoin price from neutral to yellow/ red if the latest exchange rate is not available.

Requirements & Setup

  • Node.js v0.10.x
  • Redis v2.any
  • Internets

Run npm install && npm run-script setup to install node modules and bower modules.

Much run

npm start

Much test

npm test

dogelist's People

Contributors

thom-nic avatar

Watchers

 avatar  avatar

dogelist's Issues

Backoff heuristic based on upstream response

For upstream services (btc and craigslist) when we get HTTP errors, start to prefer the locally-cached result more so clients don't continually have to wait for a request to timeout before falling back to the cache. Should also properly detect deliberate rate limiting by upstream services.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.