Overview
A full-stack survey platform that connects users with paid survey opportunities. The application features a robust admin panel for managing surveys, users, and payments, while providing an intuitive user experience for survey completion and earnings tracking.
Key Features
🔐 Authentication & Authorization
- Multi-role authentication system with NextAuth.js
- Separate dashboards for users and administrators
- Secure session management and route protection
💰 Earning System
- Real-time earnings tracking with comprehensive dashboard
- Multiple payment methods integration
- Automated payout processing
- Transaction history with detailed analytics
📊 Survey Management
- Dynamic survey listing with filtering and pagination
- Real-time survey availability updates
- Progress tracking and completion status
- Survey history and analytics
👥 Referral Program
- Multi-tier referral system with bonus rewards
- Shareable referral links with tracking
- Real-time referral statistics
- Automated commission calculations
🎛️ Admin Dashboard
- Complete user management system
- Survey analytics and performance metrics
- Payment request processing
- Comprehensive reporting tools
💸 Payment Processing
- Multiple withdrawal methods (PayPal, Bank Transfer, Cryptocurrency)
- Automated payment verification
- Daily/monthly withdrawal limits
- Real-time payment status tracking
Technical Architecture
Frontend
- Next.js 14 with App Router for optimal performance
- TypeScript for type safety and better development experience
- Tailwind CSS for responsive design and styling
- Shadcn/UI components for consistent UI patterns
- Lucide Icons for modern iconography
Backend
- Server Actions for seamless client-server communication
- Prisma ORM with MySQL database
- RESTful API design patterns
- Middleware for authentication and authorization
Database Design
- Normalized database schema with proper relationships
- User management with roles and permissions
- Survey tracking with completion status
- Payment processing with audit trails
- Referral system with commission tracking
Core Functionality
- Integration with Adblue Media