refactor: align codebase with EventCrew domain and trim legacy band stack
- Update API: events, users, policies, routes, resources, migrations - Remove deprecated models/resources (customers, setlists, invitations, etc.) - Refresh admin app and docs; remove apps/band Made-with: Cursor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Band Management - Setup Guide
|
||||
# Event Crew - Setup Guide
|
||||
|
||||
This guide walks you through setting up the Band Management project from scratch.
|
||||
This guide walks you through setting up the Event Crew project from scratch.
|
||||
|
||||
## Cursor AI Configuration
|
||||
|
||||
@@ -60,7 +60,7 @@ docker -v # Should show Docker version
|
||||
## Step 1: Start Docker Services
|
||||
|
||||
```bash
|
||||
cd band-management
|
||||
cd event-crew
|
||||
make services
|
||||
```
|
||||
|
||||
@@ -85,8 +85,8 @@ Requirements:
|
||||
- Set up CORS for localhost:5173, localhost:5174, localhost:5175
|
||||
- Use MySQL with these credentials:
|
||||
- Host: 127.0.0.1
|
||||
- Database: band_management
|
||||
- Username: band_management
|
||||
- Database: event_crew
|
||||
- Username: event_crew
|
||||
- Password: secret
|
||||
|
||||
Follow the conventions in .cursor/rules for code style.
|
||||
@@ -95,7 +95,7 @@ Follow the conventions in .cursor/rules for code style.
|
||||
### Manual Alternative
|
||||
|
||||
```bash
|
||||
cd band-management
|
||||
cd event-crew
|
||||
composer create-project laravel/laravel api
|
||||
cd api
|
||||
composer require laravel/sanctum
|
||||
@@ -107,8 +107,8 @@ Then configure `api/.env`:
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=band_management
|
||||
DB_USERNAME=band_management
|
||||
DB_DATABASE=event_crew
|
||||
DB_USERNAME=event_crew
|
||||
DB_PASSWORD=secret
|
||||
|
||||
SANCTUM_STATEFUL_DOMAINS=localhost:5173,localhost:5174,localhost:5175
|
||||
@@ -164,7 +164,7 @@ cd ../customers && pnpm install
|
||||
**apps/admin/.env.local**
|
||||
```env
|
||||
VITE_API_URL=http://localhost:8000/api/v1
|
||||
VITE_APP_NAME="Band Management Admin"
|
||||
VITE_APP_NAME="Event Crew Admin"
|
||||
```
|
||||
|
||||
**apps/band/.env.local**
|
||||
|
||||
Reference in New Issue
Block a user