This commit is contained in:
Zeeshaun
2026-05-06 15:33:36 +00:00
parent 0de593c7d3
commit 9e56dae161
21 changed files with 1663 additions and 955 deletions
-20
View File
@@ -16,7 +16,6 @@ Mobile-friendly roster and lineup planning app for Little League baseball. It in
- See pitcher availability as `Available`, `Needs Rest`, or `Unknown`
- Generate suggested batting orders and defensive assignments
- Manually adjust generated lineups before saving
- Seed sample data for a quick demo
- Placeholder auth utility for future expansion
## Setup
@@ -50,30 +49,11 @@ npm run dev
5. Open `http://localhost:3000`.
## Sample Data
You can load sample data in two ways:
- Click `Load Sample Team` on the dashboard
- Run:
```bash
npm run seed
```
The seed script adds:
- Sample players
- Default pitching rest rules
- Sample pitching appearances
- One sample saved game/lineup
## Scripts
- `npm run dev` starts the development server
- `npm run build` builds the app
- `npm run start` runs the production build
- `npm run seed` seeds the database if it is empty
## Data Models