Fast Food Hub is a modern, high-performance web application designed for restaurants, cafes, and fast-food outlets. It combines a powerful Point of Sale (POS) admin panel with a customer-facing Online Ordering platform.
- Live Menu: Categorized menu with variants (sizes) and extras (toppings).
- Persistent Cart: Shopping cart data is saved in LocalStorage, surviving page refreshes.
- Smart Coupons: Public coupons shown on home page with "Copy to Apply" functionality.
- SEO Optimized: Meta tags and Schema.org structured data for high Google ranking.
- Real-time POS: Instant order placement for walk-in customers.
- Smart Notifications: Instant alerts (bell sound + toast) for new online orders using reliable ID tracking.
- Coupon Management: Create internal or public coupons with expiry and minimum bill limits.
- Activity Tracker: Full audit logs to monitor staff actions and IP addresses.
- Reports & Analytics: Dashboard with sales trends and top-performing items.
- Framework: Laravel 10+
- Styling: Bootstrap 5, FontAwesome 6, Custom Vanilla CSS
- Logic: PHP 8.1+, jQuery, LocalStorage API
- Database: MySQL / MariaDB
-
Clone the Repo
git clone https://github.com/yourusername/in-shop.git cd in-shop -
Install Dependencies
composer install npm install
-
Environment Setup
cp .env.example .env php artisan key:generate
-
Database Migration
php artisan migrate --seed
-
Run Locally
php artisan serve
-
Create Storage Link (Crucial for Images)
php artisan storage:link
To ensure the best performance and security in a production environment, please verified the following:
- GD Library: Required for high-quality thumbnail generation. Ensure
extension=gdis enabled in yourphp.ini. - WebP Support: Ensure your GD installation supports WebP for optimized image delivery.
- Upload Limits: Adjust
post_max_sizeandupload_max_filesize(recommended 10M+) inphp.inifor item image uploads.
Ensure the following directories are writable by the web server (e.g., www-data):
storagebootstrap/cache
Run these commands when deploying updates:
php artisan config:cache
php artisan route:cache
php artisan view:cache- Honey Pot: The system uses a hidden honey pot field to block bots. Do not remove the
honey_pot_fieldinputs from forms. - Multi-Tenant Security: Admins are restricted from viewing or modifying Super Admin accounts for infrastructure safety.
This project is open-source and available under the MIT License.