Nothing. Just an exercise. Does not solve a real purpose. It runs a scheduler to search for Bitcoin and Blockchain related news every 30 minutes and saves it to MongoDB.
- Open config.js and put your twitter keys along with mongodb details
- Run
npm run start
to start the server
You can access the tweets saved into Database through REST API
Use api/tweets
to access tweets. You can provide 2 additional params :
limit
for number of results to fetchsort
to sort the results by retweet count.
E.g. api/tweets?sort&limit=20
Suyash Mohan
Twitter