Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

feathersjs-ecosystem/feathers-redis

Repository files navigation

feathers-redis

Build Status Code Climate Test Coverage Issue Count Dependency Status Download Status

A Feathers redis service adapter

Important: This is a proof of concept and not published or intended to be used. For further information see this issue.

Installation

npm install feathers-redis --save

Documentation

Please refer to the feathers-redis documentation for more details.

Complete Example

Here's an example of a Feathers server that uses feathers-redis.

const feathers = require('feathers');
const rest = require('feathers-rest');
const hooks = require('feathers-hooks');
const bodyParser = require('body-parser');
const errorHandler = require('feathers-errors/handler');
const plugin = require('feathers-redis');

// Initialize the application
const app = feathers()
  .configure(rest())
  .configure(hooks())
  // Needed for parsing bodies (login)
  .use(bodyParser.json())
  .use(bodyParser.urlencoded({ extended: true }))
  // Initialize your feathers plugin
  .use('/plugin', plugin())
  .use(errorHandler());

app.listen(3030);

console.log('Feathers app started on 127.0.0.1:3030');

License

Copyright (c) 2016

Licensed under the MIT license.

About

A Feathers redis service adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •