Skip to content

DynamiteBob17/nbafantasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

  • finds the best combination of players for the NBA fantasy league based on statistics
  • also has an api setup that can fetch statistics for players in a JSON format by scraping the stats webpage, since there is currently no way to easily fetch those statistics

How to use

Prerequisites

  • Java 21 and up
  • for now, latest version of Google Chrome (recommended, otherwise using Docker is required)

Running the project

(*on Windows use you might have to use ./mvnw.cmd instead of ./mvnw)

  1. start the web scraper server:

    Without Docker

    • either with ./mvnw spring-boot:run -pl api,
    • ./mvnw clean package -pl api and then java -jar ./api/target/nbafantasy-api.jar OR
    • download .JAR file from the release and run them with the java -jar <file-path> command

    With Docker

    • docker build -t <docker-image-name> ., then docker run --name <app-name> -p 8080:8080 <docker-image-name>
  2. start the main program (in new shell/cmd if necessary):

    • either with ./mvnw clean compile exec:java -pl core,
    • ./mvnw clean package -pl core and then java -jar ./api/target/nbafantasy-core.jar OR
    • download .JAR file from the release and run them with the java -jar <file-path> command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published