PayDirt
===

A historical NFL data archive/analysis tool.

![The PayDirt Interface](https://source.rochesterx.dev/RochesterX/CSI-3450-Project/src/branch/main/screenshots/PayDirt.png)

## About

PayDirt was created as a group database design and implementaion project for one of my classes in the Fall 2025 semester. The requirements were to design and implement a database using Microsoft SQL Server. App integration was optional, but I opted to use the opportunity to learn my first bit of web development, and the result is PayDirt.

## Architecture

PayDirt is a web app written in JavaScript implemented with Node.js and Express. Both the server and interface are written in "vanilla" JavaScript (no frameworks) and the HTML and CSS is all hand-written.

The app was originally written to use SQL Server, but that was choking the life out of my poor server, so I decided to rewrite it to use SQLite instead. Now why colleges still teach 20-year-old material and don't actually recommend a practical solution, I couldn't tell you. But I'm happy with where it's landed.

## Features

__Dashboard__

The dashboard contains is split into four sections, each highlighting a different ranking of players that can be used to compare and contrast contract value:
- Watched players
- Highest contracts
- Highest Offense Score
- Highest PayDirt Score

__Player Search__

![Player Search](https://source.rochesterx.dev/RochesterX/CSI-3450-Project/src/branch/main/screenshots/Search.png)

The player search interface allows you to search for players who played in the 2024 season by name, including a position filter. Use this to quickly locate a player you have in mind and view more data about them on...

__Player Detail__

![The PayDirt Interface](https://source.rochesterx.dev/RochesterX/CSI-3450-Project/src/branch/main/screenshots/Player.png)

Each player can be selected to bring up an interface containing key information about them, as well as all their career stats. The career stats can be viewed by clicking "Vew full stats" beneath the main box.

