Skip to content

Wanna see where the Tweet you are reading is from? Look no further than this map!

Notifications You must be signed in to change notification settings

hifromkevin/Tweet-Map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweet-Map

Wanna see where the Tweet you are reading is from? Look no further than this map!

Tweet Map

Getting Started

Node (Suggested v11.13.0)

Nodemon (Suggested v1.18.11)

NPM (Suggested v6.12.0) Electron (Suggested v6.0.3)

  • npm install electron -g

API Keys:

  1. Go to the following websites and request an API key:
  1. Go to config/index.example.js and paste in your API key. Then, change the name of the file to index.js.

Installing Dependencies

Open three tabs on your terminal. Tab 1:

npm install 
bower install
npm start

Tab 2:

npm run build

To have Tweets (with random location codes) added to your account via API:

npm run tweet

Overview

This application is currently set up to take all tweets from @hifromkevin, display them on the left column, then show them using an avatar on the right column. Some of the features of this application include:

  • React / Redux for state management
  • SASS styling to provide flexibility, including keyframes and variables
  • Ability to send out a tweet using a chain of random sentence fragments concatenated together. These tweets are also assigned a random set of coordinates, which will place them on a map
  • Take coordinates provided by the Twitter API and uses them to assign a point onto a Google Map
  • Responsive layout works well on any sized device

Future developments in consideration:

  • Deployment to Heroku and/or AWS
  • Further styling improvements
  • Currently, the coordinates are a pair of values representing a metro in the United States. A random number, or override feature, may be considered
  • Flexibility in the tweets being shown. This includes the ability to search for a category (for example, tweets from a certain user), as well as a certain value (such as tweets containing the word "banana"). This would be as simple as adding two form fields that would be added to a get path (such as get(/tweet/:category/:value))
  • On scroll loading for more tweets

About

Wanna see where the Tweet you are reading is from? Look no further than this map!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published