Skip to content

yenhsuan/TweetSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tweet Search

Build Status JavaScript Style Guide

A tweets search application built by React.js and Node.js See Live DEMO

Getting Started

Get a copy of this project

git clone https://github.com/yenhsuan/TweetSearch.git

Prerequisites

Node.js and NPM are required. Inorder to use Twitter API, you must have API token and secret (Get them here).

This project followed by Standard.js. I highly recommend this library.

npm install standard -g

Installing

Client App

Install all necessary libraries

cd ./client && npm install

You can test client application by launching development web server

npm start

Bundle and output static files

npm run build
Web Server

Install all necessary libraries

cd ./server && npm install

Configure server settings ./config/server-config.js

module.exports = {
  port: YOUR_PORT_NUBER
}

Configure Twitter API settings ./config/twitter-config.js

module.exports = {
  consumer_key: 'YOUR_APP_KEY',
  consumer_secret: 'YOUR_APP_SECRET',
  access_token: 'YOUR_TOKEN',
  access_token_secret: 'YOUR_TOKEN_SECRET',
}

Launch Server

npm start

Deployment

This project is deployed by PM2, and running on a Ubuntu 16.04 machine. See Live DEMO

Built With

See package.json for details

Authors

Yen-Hsuan Chen E-mail: yenhsuan.terry@gmail.com Website: https://yenhsuan.github.io

About

πŸŽ‰ πŸ‘Ύ πŸŽƒ Web app for searching tweets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published