# AFL Photo Gallery

> Game photography for the Advantage Flag League, by season and week, with votes, reactions, sharing, and downloads. Parents and photographers can send photos in, and an admin approves each one before it appears.

Web application, a case sheet from ShirePath Solutions.
Source: https://shirepathsolutions.com/work/afl-photo-gallery

## Why it exists

The league needed a way to share game photos with families. I built a fast gallery that makes it easy to find and save your kid's best moments, and then a way for the parents with good cameras to add theirs.

## How it is built

The photos live in one bucket, filed by season and week, and the gallery reads its seasons straight from those folders, cached for minutes at a time. Votes and reactions go through the app's own routes to Firestore; the browser cannot write to the database at all.

An upload asks the app for a one-time upload link, limited per visitor and capped at 10 MB by the link itself; the photo goes straight from the browser into a pending folder and posts a note to the league's Slack. An admin approves it from a queue, which moves it into its season and week. Favorites stay in each family's own browser, so nobody needs an account to keep them.

## What it does

- Seasons and weeks browsed straight from the photo bucket
- Votes, reactions, and top photos
- Uploads from parents, approved by an admin first
- Share previews for every season, week, and photo
- Favorites kept in each family's browser, no account needed
- An admin view of weekly engagement, and a page for the photographers

## Project facts

- Status: Live
- For: Advantage Flag League
- Runs on: Vercel, Firebase
- Built with: Next.js, TypeScript, Tailwind CSS, Firebase Storage, Firestore, Firebase Auth, Vercel

## Who built it

- [Conner Contreras](https://shirepathsolutions.com/about#conner): Lead builder

## Links

- [photos.ylafl.com](https://photos.ylafl.com/)

To talk about a build like this: https://shirepathsolutions.com/contact?about=afl-photo-gallery
