Redis + Colors APIs #30

Merged
merged 43 commits into from Jul 24, 2014

Conversation

Projects
None yet
1 participant
@Lordnibbler
Owner

Lordnibbler commented Jun 29, 2014

Addresses #10

  • RESTful API implementation
    • api/v1/colors
  • Redis cache
r.incr( 'nextid' , function( err, id ) {
  r.set( 'snippet:'+id, JSON.stringify( obj ), function() {
    var msg = 'The snippet has been saved at <a href="/'+id+'">'+req.headers.host+'/'+id+'</a>';
    res.respond( msg );
  } );
} );
  • Implement Redis ORM
  • Redis API GET /api/v1/colors intermittently returns less than all of the keys.
  • Fontawesome 4.1 upgrade
  • Delete UI feature for saved colors
  • Tests
    • models/savedColor.js
    • views/savedColor.js
    • views/savedColors.js

Lordnibbler added some commits Jun 7, 2014

Test redis
- add routes
Initial savedColor implementation
- adjusted some CSS ordering
- dummy markup in index.hbs
Return promise in done() callback
- if we return during the loop its likely that our index route will
  reply with NOT all of the keys.. duh

Lordnibbler added a commit that referenced this pull request Jul 24, 2014

@Lordnibbler Lordnibbler merged commit 928a58d into master Jul 24, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@Lordnibbler Lordnibbler deleted the enhancement/10 branch Jul 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment