Skip to content

thebyronc/HashtagFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashTagFinder

This is an application created to find trending hashtags in different locations across the world. It was created to help those interested in being trendy and who are curious in pop culture across multiple geographic locations.

This is an Epicodus Group Project for JS that focuses on API development.

SET UP

  • clone repo
  • go to https://app.twitter.com/app/new
  • you will have to sign in using your twitter account.
  • twitterapp
  • you will be given a Consumer Key and a Consumer Secret.
  • create server/config.js:
var appsettings = {
    consumerkey: '<yourconsumerkey>',
    consumersecret: '<yourconsumersecret>',
    bearertoken: ''
};

module.exports = appsettings;
  • you will need to open two terminals and open server in one terminal and client in another terminal.
  • navigate to the server folder and run npm start
  • navigate to client folder and run ng serve
  • Open localhost:4200 in your favorite browser

Techologies Used

Angular 2
Firebase
Node.js
JavaScript/TypeScript
Twitter API
Plotly

Authors

Ambitions to be implemented in the future

  • Add more data. We were able to pull a very specific type of data; global tweet volume and trending topics based on location. In the future we would like to work with more data in order to help make the graph more useful.
  • Add a search bar functionality. In the future we would like to allow users to search any hashtag and get a return on the twitter volume.
  • Add functionality to enter a hashtag and the application would return locations where the hashtag is trending.
  • Add an separate API from other social media sites.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Copyright (C) 2017 Kate Trahan Natalia Tepukhova Byron Chang Jun Li

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.