A website for fantasy football leagues to view recaps, statistics, and other league-specific content.
- A Contenful account and access to our Contenful space
- (Optional) Install pnpm, which is a more performant extension of npm
In order for the app to load and show posts, you'll need to add the Contentful API keys to your local dev environment:
- Make a copy of the
web/.env.example
file and call itweb/.env.local
- Go to the the APIs page in Contentful settings
- Copy the corresponding API keys into the
web/.env.local
file
cd web
npm clean-install
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
cd web
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Note that when running in development mode, you will see both published and unpublished (i.e. draft) content from contentful.
To create a production version of the app:
cd web
npm run build
You can preview the production build with npm run preview
. This will only show published content.
- Tucker Gordon
- Joe Seibert
- Max Fierke