Skip to content

somu-odoo/odoo_hackathon_ReWear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReWear — Community Clothing Exchange

Swap, Save, Sustain!

Problem Statement: Problem Statement: Develop ReWear, a web-based platform that enables users to exchange unused clothing through direct swaps or a point-based redemption system. The goal is to promote sustainable fashion and reduce textile waste by encouraging users to reuse wearable garments instead of discarding them.

Overview

ReWear is a web-based clothing exchange platform that allows users to list unused clothing items, browse others' listings, and swap directly or via a point-based system. The platform promotes conscious fashion choices by encouraging garment reuse and reducing textile waste.

Team Information

Team Name: BASILISK

Team Members:

Tech Stack

  • Frontend: React(Vite), TailwindCSS, React Router, Axios
  • Backend: Django, Django REST Framework, SQLite/PostgreSQL, Django AllAuth / Djoser for auth
  • Integrations: Cloudinary / S3 for image uploads

Feature Checklist

  • Authentication:
    • Email/password registration and login
    • Password reset
    • Token-based authentication
  • User Profile & Dashboard:
    • View/edit profile
    • Points balance
    • Upload/manage items
    • Ongoing/completed swaps list
  • Item Listing:
    • Upload images (gallery)
    • Title, description, category, type, size, condition, tags
  • Swap Mechanism
    • Send swap request (direct or point-based)
    • Accept/reject/delete swap requests
    • View current and past swaps
    • Points are adjusted accordingly
  • Discovery
    • Browse all items
    • Filter by category
  • Admin Panel (TO BE IMPLEMENTED)
    • Approve/reject items
    • Remove inappropriate content
    • View all swap activity
    • Ban users
    • Send announcements

Quick Start

Prerequisites

  • Python 3.10+
  • Node.js 18+
  • pip, npm/yarn

Backend Setup

cd backend
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver  # http://localhost:8000

Frontend Setup

cd rewear_frontend
npm install
npm run dev  # http://localhost:5173

.env Configuration

Backend .env

# Environment variables for OAuth settings
SECRET_KEY=django-insecure-jum+o3(&957k%pr*u*eyw^*clq1uc-ieevpf#sojmhqrq0b-ln
DEBUG=True

# Google OAuth credentials (Get these from Google Cloud Console)
GOOGLE_OAUTH2_CLIENT_ID=your_google_client_id_here
GOOGLE_OAUTH2_CLIENT_SECRET=your_google_client_secret_here

# Frontend URL (for redirects)
FRONTEND_URL=http://localhost:3000

# CORS settings
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000

Frontend .env

VITE_API_URL=http://localhost:8000

Resources

Note: Due to Lack of time the mobile app is not yet linked with backend but the website has been connected with most of the functionalities.

Final Words

Thank you to the Odoo Community for allowing us to participate in this prestigious hackathon ReWear empowers users to participate in a sustainable clothing economy. Built with modern tech and clean UI/UX, it turns unused clothing into new value.

Together, let's make fashion circular.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •