[![Build Status](https://travis-ci.com/filtr/filtr-www.svg?token=zzbiJMvEVECvYwAMGNPF&branch=master)](https://travis-ci.com/filtr/filtr-www)

filtr.com
============

- https://filtr.com
- https://staging.filtr.com

### Recommended
Install [Watchman](https://facebook.github.io/watchman/) to get faster and more reliable file watching.

### Set-up
```bash
git clone https://github.com/filtr/filtr-www.git
cd filtr-www
npm install
```
Copy `.env.example` to `.env` and fill in the missing credentials.

### Start server in development mode
```bash
npm run dev
```

### HTTP(S) requests
Use `require('request')` module. [`xhr`](https://www.npmjs.com/package/xhr) will be used in browsers and [`request`](https://www.npmjs.com/package/request) on server.

### Routes
Define React routes in `lib/AppRouter.js`.

### Next generation JavaScript
All JavaScript files in the `lib` directory gets transpiled to ES5 code using [`Babel`](https://babeljs.io).

### Debug
Download the React DevTools for a better development experience: http://fb.me/react-devtools.
