README.md
cipherlayer
===========
[![Circle CI](https://circleci.com/gh/thegameofcode/cipherlayer/tree/master.svg?style=svg)](https://circleci.com/gh/thegameofcode/cipherlayer/tree/master)
[![Code Climate](https://codeclimate.com/github/thegameofcode/cipherlayer/badges/gpa.svg)](https://codeclimate.com/github/thegameofcode/cipherlayer)
[![Test Coverage](https://codeclimate.com/github/thegameofcode/cipherlayer/badges/coverage.svg)](https://codeclimate.com/github/thegameofcode/cipherlayer/coverage)
[![Issue Count](https://codeclimate.com/github/thegameofcode/cipherlayer/badges/issue_count.svg)](https://codeclimate.com/github/thegameofcode/cipherlayer)
[![Coverage Status](https://coveralls.io/repos/thegameofcode/cipherlayer/badge.svg?branch=master&service=github)](https://coveralls.io/github/thegameofcode/cipherlayer?branch=master)
Security layer based on [OAuth 2.0](http://oauth.net/2/) protocol.
Customers are given tokens to access protected client and these token have all the information about the session.
That way no session information is stored in browsers or applications.
## Installation & tests
You'll need to have mongo & redis installed previously.
Install dependencies with
`npm install`
Make a copy of config_sample.json and name it config.json. The values marked with double {} such as {{SALESFORCE_CLIENT_ID}} must be replaced with the corresponding values.
Start a redis-server and a mongod in background and run tests with
`npm run test`
If everything is ok you can start contributing :)