Backend:
- Laravel 10 (PHP Framework)
- MySQL/SQLite Database
- Sanctum (API Authentication)
Frontend:
- Flutter 3.13 (Mobile Framework)
- Dart 3.1
- Riverpod (State Management)
- 📱 Mobile-first Presence Tracking System
- 🔑 JWT Authentication Flow
- 📅 Daily Attendance Recording
- 📊 Real-time Attendance Reports
- 📱 Cross-platform Mobile App
- 🔄 Bi-directional Sync Capability
presensi-fullstack/
├── backend/ # Laravel API
│ ├── app/
│ │ ├── Http/ # API Controllers
│ │ └── Models/ # Database Models
│ ├── config/ # Configuration Files
│ ├── database/ # Migrations & Seeders
│ └── routes/ # API Endpoints
└── frontend/ # Flutter Mobile
├── lib/
│ ├── models/ # Data Models
│ ├── utils/ # Helpers & Services
│ └── views/ # UI Screens
├── android/ # Android Specific
└── ios/ # iOS Specific
Access our ready-to-use Postman collection containing all API endpoints:
- Collection Link: Presensi API Collection
- Import Postman collection from the link above
- Set environment variables:
base_url: http://localhost:8000token: [Obtain from login response]
- Start testing endpoints:
- Authentication (Login/Register)
- Attendance Records
- User Management
Backend:
cd backend
composer install
cp .env.example .env
php artisan serveFrontend:
cd frontend
flutter pub get
flutter runCreate .env in backend:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=presensi
DB_USERNAME=root
DB_PASSWORD=
APP_KEY=
SANCTUM_STATEFUL_DOMAINS=localhost:8080
- GitHub: @hashiifabdillah
- LinkedIn: Hashiif Abdillah