Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bjarneo/twitterstream

Twitter stream based on Node.js and React.js. Just a React.js test.
https://github.com/bjarneo/twitterstream

Last synced: 3 days ago
JSON representation

Twitter stream based on Node.js and React.js. Just a React.js test.

Awesome Lists containing this project

README

        

TwitterStream
=============

Twitter stream based on Node.js and React.js. Just a React.js test.

Feel free to test the app here: http://bjarneo.codes:3000/

## Installation

You need to define some auth credentials for twitter to get started. These can either be defined as environment variables (see `config.js`) or in a JSON-file (`config.env.json`). You can get the auth credentials from Twitter: https://apps.twitter.com/.

You also need to build the javascript client bundle by running `npm run build`

### config.env.json

```json
{
"auth": {
"consumer_key": "your consumer key",
"consumer_secret": "your consumer secret",
"token": "your token",
"token_secret": "your token secret"
},

"keywords": [
"node.js",
"javascript",
"python"
],

"history": {
"maxItems": 500
}
}
```

### Usage:

```bash
npm install
npm run build
npm start
```