A simple waste management platform where people can buy and sell recyclable materials.
ReBuycle connects waste sellers with buyers. If you have recyclable waste, you can sell it. If you need recyclable materials, you can buy them. Collection agents help with pickup and delivery.
- Waste Sellers - People who want to sell their recyclable waste
- Waste Buyers - Businesses or individuals looking for recyclable materials
- Collection Agents - People who handle pickup and delivery
- Admins - Platform managers
- XAMPP (includes Apache and MySQL)
- A web browser
- That's it!
Download and install XAMPP from https://www.apachefriends.org
Copy the ReBuycle folder to:
C:\xampp\htdocs\ReBuycle
Open XAMPP Control Panel and start:
- Apache
- MySQL
- Open your browser and go to:
http://localhost/phpmyadmin - Click "New" on the left side
- Type
recycling_platformas the database name - Click "Create"
- Click on the
recycling_platformdatabase you just created - Click the "Import" tab at the top
- Click "Choose File" and select:
C:\xampp\htdocs\ReBuycle\database\db.sql - Scroll down and click "Go"
Go to: http://localhost/ReBuycle
You should see the home page!
- Click "Login" button in the header
- Click "Register here"
- Fill in your details
- Choose your role (Seller, Buyer, or Agent)
- Click Register
- Enter your email and password
- Click Login
- You'll be taken to your dashboard based on your role
ReBuycle/
├── admin/ - Admin dashboard
├── agent/ - Collection agent dashboard
├── buyer/ - Buyer dashboard
├── seller/ - Seller dashboard
├── auth/ - Login and logout pages
├── assets/ - CSS, JS, and images
├── config/ - Database connection
├── database/ - SQL file
├── includes/ - Header and footer
├── pages/ - Home and other pages
└── index.php - Main entry point
- User registration and login
- Role-based dashboards
- Browse waste items by category
- Post waste items for sale
- Request to buy items
- Collection agent system
- Admin management
- Database name:
recycling_platform - Default username:
root - Default password: (empty)
If your MySQL has a different password, update it in config/db.php
Can't connect to database?
- Make sure MySQL is running in XAMPP
- Check if database name is
recycling_platform - Verify credentials in
config/db.php
Login not working?
- Make sure you imported the
db.sqlfile - Check if the database has the
userstable - Try registering a new account
Page not found?
- Make sure the folder is in
C:\xampp\htdocs\ReBuycle - Check if Apache is running
- Try
http://localhost/ReBuycle(nothttp://localhost/ReBuycle/index.php)
The platform uses a green color palette:
- Primary Dark: #166534
- Primary Medium: #16a34a
- Accent: #22c55e
- Background: #F4F4F4
- PHP (backend)
- MySQL (database)
- HTML/CSS (frontend)
- JavaScript (interactivity)
- Poppins font (typography)
- This is a college project for Web Technologies course
- All passwords are securely hashed
- Users can be blocked by admins
- The platform is designed to be simple and easy to use
If something doesn't work:
- Check if XAMPP services are running
- Make sure the database is imported correctly
- Clear your browser cache
- Check the browser console for errors
Made with ♻️ for a sustainable future