Skip to content

ChrisJFarr/Trends

Repository files navigation

Trend Search API

Application Description

This application uses pytrends to connect to Google Trends. Users are able to type a query into the search box and pull data from Google Trends into MongoDB. When a users clicks on the new hyperlink they are taken to a new page where they can view the 5 year interest trend for that query on the internet. Each query is stored permanently in the MongoDB and can be viewed after the application has been closed and re-launched.

The entire application is contained in Docker containers, eliminating the need to install any dependencies outside of Docker. Follow the instructions and example below to see how it operates.

Setup Instructions:

  1. Install docker
  2. Clone repository to desktop (or another easy location)
  3. Build and run docker image/container
    • Open a command prompt
    • Navigate to "Trends" folder example: cd C:/Users/YourName/Desktop/Trends
    • Type docker-compose -f Docker-compose.yml up -d into prompt and hit enter
  4. Navigate to application

Operating Instructions:

  1. Type query into text-box on screen
  2. Click new hyperlink with query results
    • Navigate back to homepage for new query

Example: Trending for Taylor Swift

Starting screen...

Starting Screen


Type query into text box...

Typing query


Press submit...

Press submit


Click hyperlink and analyze results...

Analyze results


About

MongoDB Python Flask Demo App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published