This project is an Event Management System built with Laravel 10, Tailwind CSS, and Laravel Breeze. It allows admins to create and manage events, while users can browse and register for these events with integrated payment processing via Midtrans payment gateway.
The application uses the following data structure:
Clone the repository:
git clone <repository-url>
cd <project-folder>
Install PHP dependencies:
composer install
Install JavaScript dependencies:
npm install
Create environment file:
cp .env.example .env
Generate application key:
php artisan key:generate
Configure your database in the .env
file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=event_management
DB_USERNAME=your_username
DB_PASSWORD=your_password
Run migrations and seeders:
php artisan migrate --seed
Configure Midtrans payment gateway in the .env
file:
MIDTRANS_SERVER_KEY=your_server_key
MIDTRANS_CLIENT_KEY=your_client_key
MIDTRANS_IS_PRODUCTION=false
MIDTRANS_MERCHANT_ID=your_merchant_id
Start the development server:
php artisan serve
Compile assets:
npm run dev
Admin
User
This project uses Laravel Breeze for authentication which provides:
npm run build
app/Models
- Contains models for Users, Events, Registration, Paymentsapp/Http/Controllers
- Controllers for managing application logicapp/Http/Middleware
- Includes role-based access control middlewaredatabase/migrations
- Database schema migrationsdatabase/seeders
- Default data seedersresources/views
- Blade templates for frontendroutes/web.php
- Web routes definitions