Skip to content

About

A quick, at-a-glance look at when my Atlanta teams play next, plus their latest scores. Built with Cursor for MLH Global Hack Week.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Game Day Glance

Phone-first page for the next game of each Atlanta team: the Braves, Falcons, Georgia Bulldogs, Hawks, Dream, and Atlanta United. One screen, dark background, team colors from ESPN. Hide a team and it stays hidden. The last good slate is saved in the browser so a refresh paints immediately.

Schedules come from ESPN's public site API through a tiny Node proxy. There is no build step and no npm dependency. The page calls /api/schedule/braves, /api/schedule/falcons, /api/schedule/bulldogs, /api/schedule/hawks, /api/schedule/dream, and /api/schedule/united. server.js fetches ESPN and returns one schedule payload per team.

Run it

node server.js

Then open http://127.0.0.1:8741 or http://localhost:8741. The server listens on port 8741 (IPv4 and IPv6) unless PORT is set.

Opening index.html directly, or using npx serve, does not run the proxy, so every card says "Couldn't load".

GitHub Pages

.github/workflows/pages.yml publishes the static files on every push to main. The artifact is only index.html, styles.css, and app.js. It does not upload .git, node_modules, server.js, or workflow files.

In the repository settings, set Pages → Build and deployment → Source to GitHub Actions if it is not already. "Deploy from a branch" will not run this workflow.

GitHub Pages cannot run server.js, so the published site has no /api/schedule route. Use node server.js when you want live games.

About

A quick, at-a-glance look at when my Atlanta teams play next, plus their latest scores. Built with Cursor for MLH Global Hack Week.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages