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:
24
Makefile
24
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: help services services-stop api admin band customers
|
||||
.PHONY: help services services-stop api admin app portal
|
||||
|
||||
# Colors
|
||||
GREEN := \033[0;32m
|
||||
@@ -9,7 +9,7 @@ NC := \033[0m
|
||||
help:
|
||||
@echo ""
|
||||
@echo "$(GREEN)╔══════════════════════════════════════════════════════════════╗$(NC)"
|
||||
@echo "$(GREEN)║ BAND MANAGEMENT - Development Commands ║$(NC)"
|
||||
@echo "$(GREEN)║ EVENT CREW - Development Commands ║$(NC)"
|
||||
@echo "$(GREEN)╚══════════════════════════════════════════════════════════════╝$(NC)"
|
||||
@echo ""
|
||||
@echo " $(YELLOW)Services (Docker):$(NC)"
|
||||
@@ -19,8 +19,8 @@ help:
|
||||
@echo " $(YELLOW)Development Servers:$(NC)"
|
||||
@echo " make api Laravel API → http://localhost:8000"
|
||||
@echo " make admin Admin Dashboard → http://localhost:5173"
|
||||
@echo " make band Band Portal → http://localhost:5174"
|
||||
@echo " make customers Customer Portal → http://localhost:5175"
|
||||
@echo " make app Organizer SPA → http://localhost:5174"
|
||||
@echo " make portal Portal SPA → http://localhost:5175"
|
||||
@echo ""
|
||||
@echo " $(YELLOW)Database:$(NC)"
|
||||
@echo " make migrate Run migrations"
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
@docker compose up -d
|
||||
@echo ""
|
||||
@echo "$(GREEN)Services:$(NC)"
|
||||
@echo " $(CYAN)MySQL:$(NC) localhost:3306 (band_management / secret)"
|
||||
@echo " $(CYAN)MySQL:$(NC) localhost:3306 (event_crew / secret)"
|
||||
@echo " $(CYAN)Redis:$(NC) localhost:6379"
|
||||
@echo " $(CYAN)Mailpit:$(NC) http://localhost:8025"
|
||||
@echo ""
|
||||
@@ -53,13 +53,13 @@ admin:
|
||||
@echo "$(GREEN)Starting Admin SPA → http://localhost:5173$(NC)"
|
||||
@cd apps/admin && pnpm dev
|
||||
|
||||
band:
|
||||
@echo "$(GREEN)Starting Band Portal → http://localhost:5174$(NC)"
|
||||
@cd apps/band && pnpm dev --port 5174
|
||||
app:
|
||||
@echo "$(GREEN)Starting Organizer SPA → http://localhost:5174$(NC)"
|
||||
@cd apps/app && pnpm dev
|
||||
|
||||
customers:
|
||||
@echo "$(GREEN)Starting Customer Portal → http://localhost:5175$(NC)"
|
||||
@cd apps/customers && pnpm dev --port 5175
|
||||
portal:
|
||||
@echo "$(GREEN)Starting Portal SPA → http://localhost:5175$(NC)"
|
||||
@cd apps/portal && pnpm dev
|
||||
|
||||
migrate:
|
||||
@cd api && php artisan migrate
|
||||
@@ -68,4 +68,4 @@ fresh:
|
||||
@cd api && php artisan migrate:fresh --seed
|
||||
|
||||
db-shell:
|
||||
@docker exec -it bm_mysql mysql -u band_management -psecret band_management
|
||||
@docker exec -it bm_mysql mysql -u event_crew -psecret event_crew
|
||||
|
||||
Reference in New Issue
Block a user