项目作者: jteruel

项目描述 :
A simple NodeJS app to store Tweets about app ideas with MongoDB
高级语言: JavaScript
项目地址: git://github.com/jteruel/app-idea-tweets.git
创建时间: 2018-04-11T16:37:40Z
项目社区:https://github.com/jteruel/app-idea-tweets

开源协议:

下载


app-idea-tweets V1.0.01

Description

This project allows you to get Twitter updates which could give you ideas for a new app or startup with only 70 lines of Javascript, and an HTML file to display the tweets from the Twitter stream.

Since we’re retrieving data from a stream, we may be storing information for multiple tweets at a time so we’ll be using MongoDB.

While this is not meant for production, this would be a good base to expand further to work on apps which involve analyzing data from Tweets. It will also be a good intro for those interested to learn about Twit and Socket.io.

Key Node Packages

  1. Express
  2. MongoDB
  3. Twit
  4. Socket.io

Notices

  1. This project is not recommended to be in production

  2. Prerequsites for this project:
    a. NodeJS
    b. MongoDB
    c. Twitter Developer API keys - Get your Twitter API credentials here

  3. Before running the app:

    • Run npm update to get the packages from the package.json file.
    • Ensure that you have MongoDB running on your system so the app will store the Tweets correctly.
    • Build the database “twitterfeed” and the collection named “tweets” with the db.js file with the command node db.js.