Simple web application that allows users to compare Letterboxd movie ratings and guess which movie has a higher rating. Inspired by the popular "Higher or Lower" game format, this project uses data scraped from Letterboxd. Check out deployed website here: https://letterboxdhol.netlify.app/
- Compare the ratings of two randomly selected movies from Letterboxd.
- Track your score as you guess which movie has a higher rating.
- Play with data scraped from 936 of the most popular films on Letterboxd.
- Responsive design for an optimal experience on both desktop and mobile devices.
- React
- Vite
- CSS
- Netlify/Render for hosting
- JavaScript
- Node.js
- Express.js
- MongoDB
- Python
- Selenium
- BeautifulSoup4
To run the front end locally, follow these steps:
-
Clone the repository:
git clone https://github.com/jjoej15/letterboxd-HoL.git cd letterboxd-HoL
-
Install dependencies and start development server:
cd front-end npm install npm run dev
-
Open on local server
If you want to scrape your own data from Letterboxd, follow these steps:
-
Navigate to data-processing directory
-
Install the required Python packages:
pip install beautifulsoup4 selenium pandas
-
Run the script:
python letterboxd_scraper.py
By following these steps, you can customize the data set used in your Letterboxd Higher or Lower game with the latest data by loading your movies.json file into your own MongoDB database, connecting your database to back end and changing fetch address in Game.jsx.