Experts Inside feed aggregator
LiveScript CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.jshintrc
.travis.yml
Gruntfile.coffee
LICENSE-MIT
README.md
package.json
server.js

README.md

ExpertsInside Feeds

Small node app for fetching and aggregating various feeds (Twitter, Blog, ...) for people working @ExpertsInside. The app is hosted on Azure under the URL http://expertsinside-feeds.azurewebsites.net and serves as a data backend for our company website.

The app is still under heavy development.

Build Status

Getting started

Install dependencies

npm install

Run Tests with grunt.

grunt test

This runs all unit tests in the project. There is also grunt test:integration which runs the integration tests. These tests require valid Twitter API keys to work (see below) though.

During active development you might want to use grunt watch which runs the test on every filechange

Run the app local

The app requires valid Twitter API keys to work. Since the app only reads the public timeline, any Twitter App works. You can create one here. The following environment variables are used for the keys

EI_TWITTER_CONSUMER_KEY
EI_TWITTER_CONSUMER_SECRET
EI_TWITTER_ACCESS_TOKEN_KEY
EI_TWITTER_ACCESS_TOKEN_SECRET

Running the app

node server.js

If you have nodemon installed you can also do which restarts the local server on every filechange

nodemon -e js,ls server.js

References

App is mostly written in LiveScript using async to handle the callback madness, ntwitter for fetching tweets and express for running the app.

Test are written with Mocha using Chai syntax and Sinon spies.