TrashToTreasure is a waste management and upcycled product marketplace platform. It enables the collection, categorization, and sale of waste materials, while also allowing artisans to create and sell upcycled products.
- City corporations and companies collect waste from households and businesses.
- Workers separate materials and list them on the platform.
- Buyers (companies or artisans) can purchase waste materials for upcycling.
- Delivery system for waste materials via assigned drivers.
- Artisans create and sell upcycled products.
- Admin approval required before products appear in the marketplace.
- Buyers can purchase products and leave ratings/reviews.
- Admin: Manages user approvals, product verification, and platform settings, lists waste materials with prices and details.
- Driver/Delivery Guy: Collects and delivers materials.
- Artisan/Crafter: Purchases waste materials and sells upcycled products.
- Buyer: Purchases waste materials or upcycled products.
- Backend: Django (Python)
- Frontend: HTML, CSS, JavaScript
- Database: sqLite
- Authentication: Django Auth (with role-based access control)
- Deployment: Docker, AWS/Heroku (Planned)
-
Clone the repository
git clone https://github.com/maruf346/TrashToTreasure.git cd TrashToTreasure -
Set up a virtual environment
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies
pip install -r requirements.txt
-
Run database migrations
python manage.py makemigrations python manage.py migrate
-
Create a superuser (Admin access)
python manage.py createsuperuser
-
Run the server
python manage.py runserver
| Endpoint | Method | Description |
|---|---|---|
/api/waste-items/ |
GET | List all waste materials |
/api/waste-items/{id}/ |
GET | Get details of a specific waste item |
/api/upcycled-products/ |
GET | List all upcycled products |
/api/upcycled-products/{id}/ |
GET | Get details of a specific upcycled product |
/api/orders/ |
POST | Place an order |
- Payment gateway integration.
- AI-based waste categorization.
- Mobile app development.
This project is licensed under the MIT License.
We welcome contributions! If you'd like to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name). - Make your changes and commit (
git commit -m 'Add new feature'). - Push to your branch (
git push origin feature-name). - Open a pull request.
For any inquiries, feel free to reach out:
Author: Maruf Hossain
Dept. of CSE
Green University of Bangladesh
📧 Email: [email protected]
- GitHub Issues: Create an issue
Let's turn waste into value! ♻️🚀