Skip to content

A utility web service to draft a fantasy football team using the snake draft format

Notifications You must be signed in to change notification settings

chrislbs/ff-snake-draft

Repository files navigation

Simple Snake Draft Application

Requirements

Setup

Installing the node modules

npm install npm install nodemon -g

Loading data into the database

At present, the application assumes that the mysql server is running on the local machine on the default port (3306). It also assumes that a database named 'ff' create database if not exists ff exists for the user you're connecting as.

Most of the API's will automatically create the expected table structures required whenever first making a request to one of the API's.

The player projection data is being scraped off of a fantasy analytics site. The application currently has no background processing so to retrieve an initial set of data you should start the server and hit the data import API. I'm using node nodemon app.js.

POST http://localhost:8080/api/data/importLatest

Running with Docker & Fabric

Install fabric to build images and run containers easily

pip install fabric

Run:

  • fab build to build/pull docker images
  • fab dev to run all containers, with the main container in interactive mode
  • fab up to run all containers in daemon mode

About

A utility web service to draft a fantasy football team using the snake draft format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published