Skip to content

A tool to help analyze your Yahoo! Fantasy Hockey matchups

Notifications You must be signed in to change notification settings

nosecreek/fantasy-hockey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fantasy Hockey Helper

This is a web app which can be used as tool to help analyze your Yahoo! Fantasy Hockey matchups. Currently it will only work with leagues which use head-to-head matchups.

You can use the app at https://fantasyhockey.fly.dev/ or follow the instructions below to self-host.

There are two parts to the app:

Backend

A Node.js server which uses Express and yahoo-fantasy to authenticate and retrieve data from the Yahoo! Fantasy Sports API.

You will need a Client ID and Secret from https://developer.yahoo.com/apps/

You will need a .env file containing three variables:

  • APP_KEY - Yahoo! Client ID
  • APP_SECRET - Yahoo! Client Secret
  • PORT - If running locally, set to 3003
  • FRONTEND_URI - http://localhost:3000/ if running locally
  • BACKEND_URI - https://localhost:3003/ if running locally

You will also need to generate key.pem and cert.pem files for https if running locally

Install

Run npm i to install all dependencies.

Run

Use npm start to start the server or npm run dev to start in development mode.

Frontend

The Frontend is a React app. If running locally, it will automatically proxy backend requests to the local backend running at https://localhost:3003/.

Install

Run npm i to install all dependencies.

Run

Use npm start to start the web application.

About

A tool to help analyze your Yahoo! Fantasy Hockey matchups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published