Chicago Food Finder
The goal is to provide food options for the Chicago Area.
How this works?
Cron
Cron runs every hour to pull latest posts from Instagram API using a hashtag: #chicagofood. Hosted in Heroku.
Database
Posts are saved in a Mongo Database hosted in Atlas, which is a Cloud Provider.
API
A nodejs restful api hosted in Heroku, exposes the following endpoints:
/topics
This endpoint analyses the latest 500 posts and with the help of LDA extracts the most trending topics found on the caption of the posts.
It also cleans the data by removing certain words.
/search
Receives a category (topic) as a query parameter and returns posts that include that topic.
/choice
Saves the relation: Topic - Post chosen by the user when they click a post. In a future interation this will help to improve the /search endpoint.
Web app
This web app was built with sapper and it's hosted in Netlify, shows mainly three actions:
Topics
Pulling the data from the API.
Options
Based on the Topic chosen by the user, the app hits the API to pull options for that topic.
Choice
Finally when the user clicks a post, is taken to the original publication in Instagram and at the same time the selections is saved, in a future iteration this will help to improve the search algorithm.
This is pretty much it, so in a few words:
This is a tool that pulls Chicago Food posts from Instagram and using LDA Topic Modeling extracts the most trending topics, which then are cleaned to show only food related topics, and show to you throught a web app.Thanks for reading, this was fun for me, I hope it was for you too.
If you have any question, comment, complaint, joke, job offer please send me a tweet: @jaumint