ReWear is a Laravel-based web platform that enables users to exchange unused clothing through direct swaps or a point-based redemption system. The platform promotes sustainable fashion and reduces textile waste by encouraging users to reuse wearable garments.
- User Authentication: Email/password signup and login
- Item Management: Upload, edit, and manage clothing listings
- Swap System: Direct item swaps and points-based redemption
- Admin Panel: Content moderation and platform management
- Points Economy: Gamified system to encourage participation
- Profile management with points tracking
- Item upload with multiple images
- Advanced search and filtering
- Swap request management
- Transaction history
- Item approval/rejection workflow
- User management
- Platform statistics and monitoring
- Content moderation tools
- Backend: Laravel 10, PHP 8.1+
- Frontend: Blade templates, Tailwind CSS, Alpine.js
- Database: MySQL/PostgreSQL
- File Storage: Local/S3 compatible
- Testing: PHPUnit with Feature and Unit tests
- PHP 8.1 or higher
- Composer
- Node.js and npm
- MySQL or PostgreSQL
-
Install dependencies:
composer install npm install
-
Environment configuration:
php artisan key:generate # Update .env with your database credentials -
Database setup:
php artisan migrate php artisan db:seed
-
Storage and assets:
php artisan storage:link npm run dev
-
Start development server:
php artisan serve
- Email: admin@rewear.com
- Password: 123456789
- Email: alice@example.com
- Password: 123456789
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Run the test suite
- Submit a pull request
This project is open-sourced software licensed under the MIT license.