rbtkay / INGR-Twitter

Projet Ipssi, Twitter Analytics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPSSI EISI-IT 21.1AW - Ines Jebli, Nolwenn Poilleux, Geoffrey Dazelle & Robert Khayat

Welcome on INGR-Twitter ! ๐Ÿ˜ƒ

This project is licensed under the terms of the MIT license.
It uses Twitter API, Javascript library called ReactJS, Highcharts JS API and Symfony framework.

Topic :

It's a analytic platform using the twitter api:

  • Everybody can register and login to the site.
  • Provide a twitter name to get the appropriate user's tweets.
  • Add a keyword that will be followed over time.
  • The chosen keywords will be displayed in a dashboard that shows the evolution of each keyword over time.

Clone the project using the terminal :

git clone git@github.com:rbtkay/INGR-Twitter.git

Launch INGR-Twitter on local machine

1. Make sure you have docker installed on your machine

2. Modify environment variables

Enter in INGR-Twitter dir and then rename the .env.sample from docker/ to .env, and insert your values:

  • DATABASE_NAME
  • DATABASE_USER
  • DATABASE_PASSWORD
  • DATABASE_ROOT_PASSWORD
  • APP_SECRET
  • JWT_PASSPHRASE
  • TWITTER_API_ACCESS_TOKEN
  • TWITTER_API_ACCESS_TOKEN_SECRET
  • CONSUMER_KEY
  • CONSUMER_SECRET

2. Navigate to the appropriate folder

cd INGR-Twitter/docker/

3. Run Project

If you've just clone the project execute

docker-compose up --build

The server might take several minutes to be ready for connections, it needs to wait for the database to finish setting up. Be patient ;)

If on the other hand you're pulling and already have a set of data established you can execute

docker-compose up

This last command will be faster since the database is already built

User journey:

  1. Connect to the Internet address : http://localhost:3000/
    Welcome on the platform ! ๐ŸŽ‰
  2. If you don't already do so, you need to register.
    Select the Sign Up tab and please complete the next form.
  3. Congratulations, it's your first connection !
    You can see the dashboard and yours last ten tweets.
  4. Now, add one or many keywords. We are limited to 100 tweets recording by the API. You can try : cute,truc, health
  5. See their chart.
    You can toggle the display of a line by clicking on keywords from the graph.
    Hover the mouse cursor over the curve and read number of tweets using this keyword at a given date.
  6. You can delete a keyword by clicking on it form the menu over the graph.
  7. At the top right, you can click on Signed as ... and access to settings and disconnection.
    Click on settings. You can modify your username, email address, Twitter login and password.
  8. Log out and login with your new username and password.
  9. You can return to the settings page and delete your account.

Contributing

INGR-Twitter is an Open Source project. Please review the guidelines for contributing and read the code of conduct to this repository. Become a maintainer !

About

Projet Ipssi, Twitter Analytics

License:MIT License


Languages

Language:PHP 51.0%Language:JavaScript 41.7%Language:CSS 3.6%Language:Shell 1.8%Language:HTML 1.1%Language:Dockerfile 0.8%