Web application for managing a softball team's statistics, including:
- Active/Completed tournaments
- Players and their statistics (AB, H, HR, AVG, etc.)
- Match results
- User authentication
- Match registration: With date, opponent, and detailed player statistics
- Tournament management: Create/edit tournaments with start/end dates
- Responsive design: Hamburger menu on mobile, adaptive tables
- Firebase Emulator: For development without affecting real database
- Vercel deployment: Production-ready configuration
- Node.js 20+
- pnpm (recommended)
- Firebase account
- Vercel account (optional)
-
Clone the repository:
git clone https://github.com/franklinbl/softball-statistics
-
Install dependencies:
pnpm install
- Required environment variables:
VITE_FIREBASE_API_KEY=""
VITE_FIREBASE_AUTH_DOMAIN=""
VITE_FIREBASE_PROJECT_ID=""
VITE_FIREBASE_STORAGE_BUCKET=""
VITE_FIREBASE_MESSAGING_SENDER_ID=""
VITE_FIREBASE_APP_ID=""- Development database
pnpm run emulatorsStarts local Firebase emulator
pnpm run seedPopulates the emulator with test data
- Start development server
pnpm run dev