Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis + Colors APIs #30

Merged
merged 43 commits into from Jul 24, 2014
Merged

Redis + Colors APIs #30

merged 43 commits into from Jul 24, 2014

Conversation

@Lordnibbler
Copy link
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 29 commits Jun 7, 2014
- add routes
#31
- adjusted some CSS ordering
- dummy markup in index.hbs
Lordnibbler added 14 commits Jul 19, 2014
- 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
Redis + Colors APIs
@Lordnibbler Lordnibbler merged commit 928a58d into master Jul 24, 2014
1 check passed
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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.