Tracking the College Football Belt with Svelte and Mongoose.
-
packages/data
Scripts and utilities to fetch, process, and calculate the college football lineal championship lineage -
packages/svelte
The Svelte app that displays the results
All data is sourced from the excellent CollegeFootballData.com.
Check out the live site: cfb-belt.com
-
Clone the repository:
git clone https://github.com/jbinion/cfb_belt.git cd cfb_belt -
Set up environment variables:
Create
.envfiles in bothpackages/dataandpackages/svelteby copying the provided.env.examplefiles:cp packages/data/.env.example packages/data/.env cp packages/svelte/.env.example packages/svelte/.env
Then, edit these
.envfiles to add your API key and your MongoDB connection URI -
Install dependencies & build models:
pnpm install cd packages/models && npm run build
-
Run the data scripts (optional, for contributors):
cd packages/data pnpm start -
Start the website locally:
cd packages/svelte pnpm dev
Contributions are welcome! If you have ideas for new features or improvements, please feel free to open an issue or submit a pull request.