Skip to content

wilsonz347/Swap-Tech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swap Tech

Description

Swap Tech is a platform that promotes eco-friendly tech consumption by facilitating the refurbishment and recycling of electronic devices. The platform supports two user types: refurbishers who can purchase, refurbish, and sell devices, and recyclers who can buy verified refurbished devices.

Tech Stack

Backend

  • Django
  • Flask
  • PyTorch
  • Transformers
  • Pillow

Frontend

  • Django Templates
  • HTML
  • CSS
  • JavaScript

Installation

  1. Clone the repository
git clone https://github.com/wilsonz347/Swap-Tech.git
  1. Create and activate virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
  1. Install backend dependencies
cd backend
pip install -r requirements.txt
  1. Run Django migrations
python manage.py migrate
  1. Start servers
cd backend/general_backend
python manage.py runserver
Navigate to root directory
cd backend/ai_integrate
python chatbot.py

Features

Dual user roles (Refurbisher/Recycler) Device marketplace User authentication system AI-powered chatbot Profile management Notification system

License

This project is licensed under the MIT License - see the LICENSE file for details

Challenges We Faced

Technical Challenges

  1. Setting up dual authentication flows for refurbishers and recyclers

Implementation Challenges

  1. Connecting Flask-based chatbot with Django main application

  2. Implementing live notifications for marketplace updates

Development Process Challenges

  1. Balancing feature implementation within hackathon timeframe

Future Improvements

  • Implement location/direct swap to find sustainable resources near the user's area.
  • Live-tracking user sustainability based on off their contributions

About

Civic Hacks 2025

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors