BrewHub adalah aplikasi mini e-commerce berbasis Laravel dan Inertia.js (Vue) yang mensimulasikan toko kopi. User dapat melihat menu, menambahkan produk ke keranjang, melakukan checkout, serta melihat riwayat pembelian.
Project ini dibuat sebagai bagian dari tugas capstone divisi programming.
- Register & Login
- Melihat daftar produk
- Melihat detail produk
- Menambahkan produk ke keranjang
- Melihat isi keranjang
- Checkout pesanan
- Melihat riwayat pembelian
- CRUD produk (tambah, edit, hapus)
- Melihat data pesanan
- Update status pesanan
- Membuat project Laravel:
composer create-project laravel/laravel brewhub
cd brewhub- Install dependency:
composer install
npm install- Install Inertia + Vue:
composer require inertiajs/inertia-laravel
npm install vue@3 @inertiajs/vue3- Setup environment:
cp .env.example .env
php artisan key:generate- Konfigurasi database di file
.env:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=brewhub
DB_USERNAME=root
DB_PASSWORD=- Jalankan migrasi database:
php artisan migrate- Jalankan server Laravel:
php artisan serve- Jalankan frontend:
npm run dev- Buka di browser:
http://127.0.0.1:8000/products
- Project menggunakan data dummy produk
- UI dibuat menggunakan Tailwind CSS dengan tema coffee shop
- Pastikan MySQL/XAMPP sudah aktif sebelum menjalankan project
- Semua fitur utama sudah dapat dijalankan dengan baik
- Nama: CX-17_NOer
- Project: BrewHub
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
In addition, Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
You can also watch bite-sized lessons with real-world projects on Laravel Learn, where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install Laravel Boost to supercharge your AI workflow:
composer require laravel/boost --dev
php artisan boost:installBoost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.