Set up modern PHP MVC project structure for GetYourBand platform
- Implemented clean MVC architecture with Router, Controller, and Model base classes - Created database migrations for users, bands, bookings, reviews, and availability - Set up Tailwind CSS with yellow color scheme and modern design - Added Alpine.js for reactive JavaScript components - Configured Vite for asset building and hot module replacement - Created authentication and role-based middleware - Implemented helper functions and configuration system - Added comprehensive README with setup instructions - Configured Apache with proper rewrite rules and security headers - Set up Composer and npm package management with modern dependencies
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Application
|
||||
APP_NAME="GetYourBand"
|
||||
APP_ENV=local
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
# Database
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=getyourband
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
|
||||
# Mail (SMTP)
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=tls
|
||||
MAIL_FROM_ADDRESS=noreply@getyourband.ch
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
# Payment
|
||||
PAYPAL_MODE=sandbox
|
||||
PAYPAL_CLIENT_ID=
|
||||
PAYPAL_SECRET=
|
||||
PAYMENT_ENABLED=false
|
||||
COMMISSION_RATE=0.10
|
||||
|
||||
# Upload Settings
|
||||
MAX_UPLOAD_SIZE=5242880
|
||||
ALLOWED_IMAGE_TYPES=jpg,jpeg,png,webp
|
||||
ALLOWED_VIDEO_TYPES=mp4,webm
|
||||
|
||||
# Security
|
||||
SESSION_LIFETIME=120
|
||||
SESSION_DRIVER=file
|
||||
HASH_ALGO=bcrypt
|
||||
|
||||
# Features
|
||||
REQUIRE_EMAIL_VERIFICATION=true
|
||||
REQUIRE_BAND_APPROVAL=true
|
||||
ENABLE_REVIEWS=true
|
||||
Reference in New Issue
Block a user