Loading…
Project 03

notes from the workbench

Pickup Order System

Completed

Laravel 13 powered campus canteen pre-ordering and pickup system with multi-role access control.

  • Laravel 13
  • MySQL
  • Tailwind CSS v4
  • DaisyUI v5
  • Alpine.js
  • Midtrans
Pickup Order System preview
Interface previewPickup Order System
The brief

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
People & permissions

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
Under the surface

Data structure.

Designed with normalized relational tables, performance indexes, and clear foreign key constraints to ensure database integrity.

users8 fields
  • id
  • nim/username
  • email
  • password
  • role
  • avatar
  • is_first_login
  • timestamps
canteens7 fields
  • id
  • vendor_id
  • name
  • slug
  • is_open
  • daily_target
  • timestamps
menus10 fields
  • id
  • canteen_id
  • name
  • slug
  • price
  • description
  • category
  • image
  • is_available
  • timestamps
orders9 fields
  • id
  • user_id
  • canteen_id
  • order_code
  • status
  • total_price
  • payment_status
  • midtrans_transaction_id
  • timestamps
order_items6 fields
  • id
  • order_id
  • menu_id
  • qty
  • price
  • notes
reviews7 fields
  • id
  • user_id
  • menu_id
  • order_id
  • rating
  • comment
  • timestamps
cart_items5 fields
  • id
  • user_id
  • menu_id
  • quantity
  • timestamps
Try it locally

From repo to running.

  1. 01Clone repository to your local workstation

    git clone https://github.com/pratama1246/PickupOrder-App.git
  2. 02Navigate into the project root directory

    cd PickupOrder-App
  3. 03Install backend PHP dependencies via Composer

    composer install
  4. 04Create environment file and generate secure encryption key

    cp .env.example .env && php artisan key:generate
  5. 05Create MySQL schema, run migrations, and seed demo accounts

    php artisan migrate --seed
  6. 06Create storage symlink required for uploaded images

    php artisan storage:link
  7. 07Install frontend NPM packages

    npm install
  8. 08Build assets for production (or run dev server)

    npm run build
Back to top ↑
next from the workbenchTicketlyRead the case study