What I set out to build.
PickupOrder-App is a modern and responsive Laravel 13 web application designed to streamline food pre-ordering and pickup operations at Politeknik Negeri Cilacap. Completed individually as a course project, it is designed to reduce queues through pre-ordering. It has not been deployed for canteen use, and queue reduction has not been measured. Payments are integrated via Midtrans, and the app supports automatic webhook callbacks.
The problem
Crowded canteen queues during class breaks waste student time, vendors struggle to project daily sales targets, and admins face hurdles managing campus user data manually.
The approach
A pre-order system integrated with Midtrans Snap for cashless payments, vendor dashboards with sales target trackers, and bulk user onboarding via CSV templates.
What it does
- Midtrans Snap Integration (Snap Popup & Webhook Notification)
- 3 Checkout Payment Methods: Midtrans, QRIS Manual, and Pay Direct
- Vendor Dashboard to track daily targets & sales reports using ApexCharts
- Scan QR & Order Code to speed up canteen pickup
- Bulk user import via CSV & download template
- Force password change on first login & login throttling security controls
A closer look.
Who uses it?
Student (Mahasiswa)
- Browse campus canteens and active menus
- Interactive database-persistent shopping cart (add/update/remove items)
- Secure checkout flow with Midtrans Snap, QRIS Manual, or Pay Direct
- Order history tracking, cancel orders, review menus, and reorder
- Real-time payment status polling in frontend JavaScript
Vendor (Kantin)
- Interactive Vendor Dashboard & sales reports with ApexCharts
- Update canteen profile, set daily target, and toggle open/closed status
- Menu management (CRUD) with photo upload & category binding
- Incoming order management with barcode/QR scanning or code entry
- Order status updates and cancellation management
Admin (Sistem)
- Admin Dashboard with metrics overview
- Canteen onboarding and management (CRUD & bulk delete)
- User administration with bulk status toggle & delete
- Bulk student import via CSV with downloadable template
- Force password change on first login for users
Data structure.
Designed with normalized relational tables, performance indexes, and clear foreign key constraints to ensure database integrity.
users8 fields
idnim/usernameemailpasswordroleavataris_first_logintimestamps
canteens7 fields
idvendor_idnameslugis_opendaily_targettimestamps
menus10 fields
idcanteen_idnameslugpricedescriptioncategoryimageis_availabletimestamps
orders9 fields
iduser_idcanteen_idorder_codestatustotal_pricepayment_statusmidtrans_transaction_idtimestamps
order_items6 fields
idorder_idmenu_idqtypricenotes
reviews7 fields
iduser_idmenu_idorder_idratingcommenttimestamps
cart_items5 fields
iduser_idmenu_idquantitytimestamps
From repo to running.
01Clone repository to your local workstation
git clone https://github.com/pratama1246/PickupOrder-App.git02Navigate into the project root directory
cd PickupOrder-App03Install backend PHP dependencies via Composer
composer install04Create environment file and generate secure encryption key
cp .env.example .env && php artisan key:generate05Create MySQL schema, run migrations, and seed demo accounts
php artisan migrate --seed06Create storage symlink required for uploaded images
php artisan storage:link07Install frontend NPM packages
npm install08Build assets for production (or run dev server)
npm run build
