This project is an Affiliate and Referral Program integrated with a hotspot billing system. It allows users to register as affiliates, refer new customers, track referrals, manage commissions, and generate reports. Built with Laravel and Tailwind CSS, it streamlines the management of affiliate marketing and referral rewards.
- Affiliate Registration: Users can register as affiliates and receive a unique referral link or code.
- Referral Tracking: Track sign-ups and conversions through referral links or codes.
- Commission Management: Define and manage commission rates, with support for both one-time and recurring commissions.
- Dashboard and Reporting: Affiliates can view their performance metrics; admins can access detailed reports on affiliate performance.
- Automated Payouts: Automated and manual payout options for affiliates with various payment methods.
- Integration: Seamlessly integrates with an existing hotspot billing system.
- Security: Ensures data privacy and compliance with regulations.
- PHP 8.x
- Composer
- Laravel 9.x
- Node.js and npm
- MySQL or another supported database
git clone https://github.com/devinwitcher/affliate-project.git
cd your-repo-namecomposer install
npm installCopy the .env.example file to .env and configure your environment settings:
cp .env.example .envGenerate an application key:
php artisan key:generateRun the database migrations to create the required tables:
php artisan migratePopulate the database with dummy data:
php artisan db:seedCompile the frontend assets:
npm run devphp artisan serveVisit http://localhost:8000 in your browser to see the application in action.
- Register as an Affiliate: Navigate to the registration page and sign up as an affiliate.
- Generate Referral Links: Use the affiliate dashboard to generate and manage referral links.
- Track Referrals: View referral statistics and commissions in the dashboard.
- Admin Functions: Admins can view reports, manage commissions, and approve payouts through the admin panel.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Commit your changes (
git commit -am 'Add some feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Laravel: The PHP framework used for building the application.
- Tailwind CSS: The utility-first CSS framework for styling.
- MikroTik: For providing the hardware and API used in the billing system.