This is a web application for managing and publishing discount coupons and promotions from various companies.
Users can browse, and companies can submit promotional content, while platform staff manage and validate entries.
Built with the Laravel PHP framework, the app ensures scalability, security, and a user-friendly experience.
The main objective of this platform is to serve as a coupon management system, where:
- Companies can register and submit promotions.
- Customers can view and redeem those promotions.
- Staff members oversee content and moderate submissions.
The application includes a complete authentication system with dynamic rendering of content based on the user's role:
- 👤 Clients: Can view and redeem coupons, but cannot edit them.
- 🏢 Companies: Can create and submit coupons.
- 🛡️ Staff: Have full control (approve, edit, delete).
- Register/Login system with session-based access
- Role-specific interfaces (Client / Company / Staff)
- Companies can submit promotions with title, description, and images
- Admins/staff can approve, edit, or delete promotions
- Customers can view and redeem coupons
- Designed to work seamlessly across desktop, tablet, and mobile
- Laravel (Backend Framework)
- Blade (Templating Engine)
- HTML, CSS, JavaScript (Frontend)
- MySQL (Database)
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-namecomposer install
npm installcp .env.example .env
php artisan key:generateUpdate your .env file with your local database and mail credentials.
php artisan migratephp artisan serve
npm run devThen open http://127.0.0.1:8000 in your browser.
-
Register or Login
- Users can sign up as company, staff, or customer.
-
Submit a Promotion (Companies Only)
- Enter promotion details including title, description, and image.
-
Moderation (Staff Only)
- Approve, reject, or edit any submitted promotions.
-
Browse & Redeem (Customers)
- View active coupons and follow redemption instructions.
This project leverages the power of Laravel for:
- 🔁 Fast, intuitive routing
- 💉 Dependency injection for clean code structure
- 💾 ORM and schema migrations
- ⚙️ Middleware for role-based access control
- 📬 Blade for clean frontend templating
- 📡 Built-in tools for session and authentication handling
For more details, visit the Laravel Documentation.
This application is open-source software licensed under the MIT License.