A RESTful backend system for managing laundry services, built with Laravel 12. This API allows customers to browse services, place orders, and track their status — while admins can manage and update order workflows.
-
🔐 JWT Authentication
- Register/Login with token-based authentication
- Protected routes using Bearer token
-
📋 Service Management
- View available services with category, price, and pricing method (
fixedorweight)
- View available services with category, price, and pricing method (
-
📦 Order Management
- Place orders with quantity
- View user’s order history
- Filter orders by status
-
👨💼 Admin Controls
- Admins can update order status (Pending, Processing, Completed, Cancelled)
- Order status change logs with admin reference
-
🔔 Notifications (optional)
- Email or system-based alerts when order status changes
-
🧪 Testing & CI-ready
- SQLite in-memory test database
- Unit and Feature test coverage
- Ready for GitHub Actions integration
git clone https://github.com/your-username/laundryapi.git
cd laundryapi
composer install
cp .env.example .env
php artisan key:generate