# Quick Test Guide - Production Venue

**Venue:** Global Gala Main Venue (1,374 seats, 102 tables)
**Status:** ✅ Imported and Ready to Test

---

## Admin Login Credentials

```
Email:    admin@globalgala.com
Password: password1234
```

**Other accounts:** See `/Users/charlie/code/showprima/LOCAL_ADMIN_CREDENTIALS.md`

---

## Start Development Servers

```bash
# Terminal 1: Backend
cd /Users/charlie/code/showprima
php artisan serve --host=localhost --port=8000

# Terminal 2: Frontend Public
cd /Users/charlie/code/showprima-frontend
pnpm run dev:public

# Terminal 3: Frontend Admin (optional)
cd /Users/charlie/code/showprima-frontend
pnpm run dev:admin
```

---

## Test URLs

### Backend API
```
Health Check:
http://localhost:8000/health

Event API:
http://localhost:8000/api/events/1

Seat Availability:
http://localhost:8000/api/events/1/seats/availability
```

### Frontend Apps
```
Public Booking:
http://localhost:3003/booking/test-event-production-venue

Admin Dashboard:
http://localhost:3001/events/1

Admin Venue:
http://localhost:3001/venues/1
```

---

## Quick Database Queries

```bash
# Connect to MySQL
mysql -u showprima -p'e8NHZmyguogWUMdRRoZh7wYXtJCnwvxUb@c' showprima_dev

# View venue
SELECT * FROM venues WHERE id = 1;

# View template
SELECT id, name, version, total_seats, total_tables, status
FROM venue_templates WHERE id = 1;

# Count seats
SELECT seat_type, COUNT(*) as count
FROM seats WHERE event_id = 1
GROUP BY seat_type;

# View sample seats
SELECT seat_id, seat_type, section_id
FROM seats WHERE event_id = 1
LIMIT 10;
```

---

## Common Commands

```bash
# Resync seats if needed
php artisan venue:sync-seats 1 --clear

# Force resync
php artisan seats:force-resync 1

# Sync pricing
php artisan venue:sync-pricing 1
```

---

## Import Details

- **Venue ID:** 1
- **Template ID:** 1
- **Event ID:** 1
- **Production Source:** Template #141
- **Total Seats:** 1,314
- **Total Tables:** 102

For complete documentation, see:
`/Users/charlie/code/showprima/docs/PROD_VENUE_IMPORT_SUMMARY.md`
