<commit_before>sssnap Server
[![Build Status](https://travis-ci.org/51seven/sssnap-server.svg?branch=master)](https://travis-ci.org/51seven/sssnap-server)
[![Coverage Status](https://img.shields.io/coveralls/51seven/sssnap-server.svg)](https://coveralls.io/r/51seven/sssnap-server)
=============

Written in node.js with use of express.js.  
This server offers a RESTful API for the [sssnap OSX Client](https://github.com/51seven/sssnap-osx-v2/blob/master/README.md).

### Functionality

The user can Login with Google+ and the sssnap client. Once authorized the server will either create a session for the user or register the user beforehand.  
The API will be secured using HMAC. Only clients who know the private key can communicate with the server.

### Production

For more information about the development procedure consider visiting the [sssnap OSX Client](https://github.com/51seven/sssnap-osx-v2/blob/master/README.md#production).

Milestones
----------

**1st Milestone (started 21/17/2014)**  
(_also see [https://github.com/51seven/sssnap-server/milestones?state=open](https://github.com/51seven/sssnap-server/milestones?state=open)_)

- [ ] The client can upload a file
- [x] The API answers with a good and meaningful response
- [x] The API is only accessible with a private key
- [ ] The server registers a new user
- [ ] The server creates a session for a user<commit_msg>fixed badges<commit_after># sssnap Server [![Build Status][travis-image]][travis-url] [![Test Coverage][coveralls-image]][coveralls-url] [![Dependency Status][dependency-image]][dependency-url]

Written in node.js with use of express.js.  
This server offers a RESTful API for the [sssnap OSX Client](https://github.com/51seven/sssnap-osx-v2/blob/master/README.md).

### Functionality

The user can Login with Google+ and the sssnap client. Once authorized the server will either create a session for the user or register the user beforehand.  
The API will be secured using HMAC. Only clients who know the private key can communicate with the server.

### Production

For more information about the development procedure consider visiting the [sssnap OSX Client](https://github.com/51seven/sssnap-osx-v2/blob/master/README.md#production).

Milestones
----------

**1st Milestone (started 21/17/2014)**  
(_also see [https://github.com/51seven/sssnap-server/milestones?state=open](https://github.com/51seven/sssnap-server/milestones?state=open)_)

- [ ] The client can upload a file
- [x] The API answers with a good and meaningful response
- [x] The API is only accessible with a private key
- [ ] The server registers a new user
- [ ] The server creates a session for a user

[travis-image]: http://img.shields.io/travis/51seven/sssnap-server.svg?style=flat
[travis-url]: https://travis-ci.org/51seven/sssnap-server
[coveralls-image]: http://img.shields.io/coveralls/51seven/sssnap-server.svg?style=flat
[coveralls-url]: https://coveralls.io/r/51seven/sssnap-server
[dependency-image]: http://img.shields.io/david/51seven/sssnap-server.svg?style=flat
[dependency-url]: https://david-dm.org/51seven/sssnap-server
{'fraction_non_alphanumeric': 0.13148565903963905, 'fraction_numerical': 0.018691588785046728, 'mean_word_length': 4.602888086642599, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 15, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5945181', 'n_tokens_mistral': 1001, 'n_tokens_neox': 949, 'n_words': 281}