Quick Start - luckydeva03/barbershop_app GitHub Wiki
π Quick Start Guide
Panduan cepat untuk mulai menggunakan sistem manajemen barbershop setelah instalasi.
π Prerequisites
Pastikan Anda telah menyelesaikan Installation Guide terlebih dahulu.
β‘ 5-Minute Quick Start
1. Start Development Server
cd barbershop_app
php artisan serve
Akses aplikasi di: http://localhost:8000
2. Login sebagai Admin
- URL: http://localhost:8000/admin
- Email: [email protected]
- Password: password123
3. Explore Admin Dashboard
Setelah login admin, Anda dapat:
- β Lihat dashboard analitik
- β Kelola data customer
- β Buat kode redeem
- β Monitor activity logs
4. Test Customer Portal
- URL: http://localhost:8000/login
- Email: [email protected]
- Password: password123
5. Test Key Features
- β Redeem kode point
- β Lihat history transaksi
- β Browse store listings
- β Submit review
π― First Steps Checklist
Admin Setup
- Change Default Password: Ganti password admin default
- Add Store Data: Tambahkan data toko/barbershop
- Create Redeem Codes: Buat beberapa kode redeem untuk testing
- Configure Settings: Sesuaikan konfigurasi aplikasi
Customer Experience
- Test Registration: Coba daftar customer baru
- Test Point System: Redeem kode untuk dapat poin
- Browse Stores: Lihat daftar barbershop
- Submit Review: Berikan review pada toko
Integration Testing
- Google OAuth: Test login dengan Google (jika dikonfigurasi)
- WhatsApp: Test booking via WhatsApp (jika dikonfigurasi)
- Maps Integration: Cek Google Maps pada store detail
π± Key Features Overview
π Authentication System
Admin Portal β /admin ([email protected])
Customer Portal β /login ([email protected])
Google OAuth β /auth/google
Logout β /logout
π Point System Workflow
- Admin membuat kode redeem
- Customer memasukkan kode
- System menambah poin ke akun customer
- Customer dapat melihat history poin
πͺ Store Management
- Admin mengelola data store via kode/seeder
- Customer browse store di halaman publik
- Google Maps integration untuk lokasi
- WhatsApp integration untuk booking
β Review System
- Customer memberikan rating 1-5 bintang
- Customer menulis komentar review
- Review tampil di halaman store detail
- Admin dapat monitor semua review
π¨ User Interface Tour
/admin
)
Admin Dashboard (- π Analytics Cards: Total users, codes, points
- π Charts: Visual data representation
- π Quick Actions: Shortcut ke fitur utama
- π Notifications: System alerts & updates
/dashboard
)
Customer Portal (- π€ Profile Section: Info personal & foto
- π Points Display: Current points balance
- π± Redeem Interface: Input kode redeem
- π History Table: Transaksi poin history
/stores
)
Public Store Page (- πΊοΈ Interactive Map: Google Maps dengan marker
- π Store List: Grid layout dengan info detail
- β Ratings: Average rating dengan bintang
- π± WhatsApp Button: Direct booking link
π§ Configuration Quick Setup
1. Database Seeding
# Tambah sample data
php artisan db:seed --class=StoreSeeder
php artisan db:seed --class=UserSeeder
php artisan db:seed --class=AdminSeeder
2. Create Sample Redeem Codes
# Via Tinker
php artisan tinker
# Buat kode redeem
App\Models\ReedemCode::create([
'code' => 'WELCOME50',
'points' => 50,
'description' => 'Welcome bonus untuk member baru',
'expires_at' => now()->addDays(30),
'max_uses' => 100,
'is_active' => true
]);
3. Add Store Data
# Via Tinker
App\Models\Store::create([
'name' => 'Barbershop Central',
'description' => 'Premium barbershop di pusat kota',
'address' => 'Jl. Sudirman No. 123, Jakarta',
'phone' => '021-1234567',
'latitude' => -6.2088,
'longitude' => 106.8456
]);
π Testing Different Scenarios
Customer Journey Testing
-
New Registration
/register β Fill form β Email verification β Login
-
Point Earning
/dashboard β Input WELCOME50 β +50 points β View history
-
Store Discovery
/stores β Browse list β View detail β See reviews β WhatsApp booking
-
Review Submission
Store detail β Write review β Submit β View in review list
Admin Workflow Testing
-
User Management
/admin β Users β View list β User detail β Activity log
-
Code Management
/admin β Codes β Create new β Set expiry β Activate
-
Analytics Review
/admin β Dashboard β View metrics β Export reports
π― Common First-Time Use Cases
Scenario 1: Beauty Salon Owner
Goal: Setup sistem untuk salon dengan 3 lokasi
Steps:
1. Login admin β Add 3 stores
2. Create welcome codes untuk new customer
3. Share registration link ke existing customer
4. Monitor analytics untuk growth
Scenario 2: Barbershop Chain
Goal: Loyalty program untuk multiple outlet
Steps:
1. Configure store data untuk semua outlet
2. Setup redeem codes dengan tier benefits
3. Enable Google Maps untuk store locator
4. Setup WhatsApp booking untuk each outlet
Scenario 3: Independent Barber
Goal: Simple customer management
Steps:
1. Add single store info
2. Create basic redeem codes
3. Encourage customer registration
4. Use review system untuk testimonial
π Next Steps
Setelah quick start, lanjutkan dengan:
- Configuration: Setup detail untuk production
- Admin Dashboard Guide: Panduan lengkap admin
- Customer Portal Guide: Panduan customer
- Google OAuth Setup: Konfigurasi Google login
- WhatsApp Integration: Setup WhatsApp booking
π Need Help?
- Wiki lengkap: Home untuk semua dokumentasi
- Troubleshooting: Troubleshooting untuk masalah umum
- Support: Create Issue
Selamat! Anda siap menggunakan Barbershop Management System! π