Skip to content

LetterBoxd-Stats/letterboxd-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Letterboxd Stats React App

This is a React App containing an interface to browse scraped Letterboxd user review data. It supports sorting both film and user data along with viewing fun statistical superlatives. All stats are pulled using a custom-built Letterboxd API.

Deployed on Vercel, and configurable via environment variables.

Production URL: https://letterboxd-stats-gules.vercel.app/


Environment Variables

These variables are loaded via dotenv for local development and should also be added to your Vercel project settings for production.

Secret Name Description
PORT The port for the app to run on (optional, default 300. Do not include in Vercel)
REACT_APP_API_URL Letterboxd API base URL
REACT_APP_FILMS_PER_PAGE Number of films per page (optional, default 20)
REACT_APP_LETTERBOXD_USERNAMES Comma-separated list of Letterboxd usernames
REACT_APP_LETTERBOXD_GENRES Comma-separated list of Letterboxd genres

Local Development

  1. Clone the repo

  2. Install dependencies:

npm install
  1. Start the React app:
npm run start

Project Structure

node_modules/          # (Not in repository)
├── *                  # Dependencies
public/
├── index.html
src/
├── api/
├── components/
    ├── ComingSoon.css
    ├── ComingSoon.js
    ├── Navbar.css
    ├── Navbar.js
    ├── films/
        ├── FilmFilterControls.css
        ├── FilmFilterControls.js
        ├── FilmList.css
        ├── FilmList.js
        ├── FilmSortingControls.css
        ├── FilmSortingControls.js
├── pages/
    ├── FilmsPage.css
    ├── FilmsPage.js
    ├── HomePage.css
    ├── HomePage.js
    ├── RecommenderPage.css
    ├── RecommenderPage.js
    ├── SuperlativesPage.css
    ├── SuperlativesPage.js
    ├── UserDetailPage.css
    ├── UserDetailPage.js
    ├── UsersPage.css
    ├── UsersPage.js
├── utils/
    ├── helpers.js
├── App.css
├── App.js
├── index.css
├── index.js
.env                   # Local environment variables (not in repository)
.gitignore
package-lock.json
package.json
README.md

About

A React application interface to explore Letterboxd data from a set of users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •