Commit Graph

5 Commits

Author SHA1 Message Date
Ivan
f521eeb698 feat: add CourtSession model and isOpenPlay field to Court
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 03:44:54 +00:00
Ivan
25b1495bb0 feat: update seed data for Cabo Pickleball Club
- Organization: Cabo Pickleball Club, Mazatlan timezone
- Single site: Corridor Courts, Cabo San Lucas
- 6 outdoor courts at 300 MXN/person
- Admin: ivan@horuxfin.com
- 5 membership plans: Day Pass, 10-Day, 10-Morning, Monthly, Family
- Pickleball products replacing padel items

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:29:16 +00:00
Ivan
45ceeba9e3 feat: rebrand application from Padel Pro to SmashPoint
Complete rename across all layers: UI branding, package names
(@smashpoint/web, @smashpoint/shared), infrastructure (Docker,
DB config), seed data, documentation, and logo/favicon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 02:46:29 +00:00
Ivan
df7660f37d feat(db): add seed script with demo data
Add comprehensive seed script for testing the application with realistic demo data:
- Organization "Padel Pro Demo"
- 3 sites (Norte, Sur, Centro) with different schedules
- 2 courts per site (standard and premium pricing)
- Admin users (1 super admin + 3 site admins)
- Product categories (Bebidas, Snacks, Equipamiento, Alquiler)
- Sample products with pricing
- 3 membership plans (Basico, Premium, VIP)
- 5 sample clients with one Premium membership

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 07:43:22 +00:00
Ivan
981783babb feat(db): add Prisma schema with all models
Configure Prisma ORM with PostgreSQL database schema including:
- Organization, Site, Court models for multi-tenancy
- User with role-based access and Client for customers
- Booking and Payment models for reservations
- MembershipPlan and Membership for subscriptions
- Product, Sale, SaleItem, CashRegister for POS
- Tournament, TournamentInscription, Match for competitions
- All necessary enums, relations, indexes, and cascading deletes
- Prisma client singleton for Next.js

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 06:17:02 +00:00