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.examplefile and call itweb/.env.local - Go to the the APIs page in Contentful settings
- Copy the corresponding API keys into the
web/.env.localfile
cd web
npm clean-installOnce 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 -- --openNote 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 buildYou can preview the production build with npm run preview. This will only show published content.
- Tucker Gordon
- Joe Seibert
- Max Fierke
