ReLocal is a decentralized return management and reselling platform that transforms how returned products are handled. Instead of centralizing all returns in a central warehouse and shipping them back to the producer's location, ReLocal leverages local warehouses within each state to immediately resell returned products to local customers at discounted prices.
Traditional return systems:
- β Centralize all returns in one warehouse
- β Ship products back to original producer location
- β Increase transportation costs and carbon emissions
- β Create delays in inventory management
- β Miss opportunity to resell locally at better margins
Decentralized Local Reselling:
- β Store returns in state-level local warehouses
- β Immediately resell to local customers at discounted prices
- β Reduce carbon footprint by eliminating unnecessary transport
- β Benefit all stakeholders - Company, Customers, Producers
- β Faster inventory turnover and better customer satisfaction
- Customer in Dehradun (Uttarakhand) purchases a product and later returns it
- Instead of: Shipping to central Delhi warehouse β then to producer location
- We do: Store in Uttarakhand Local Warehouse β Recommend to other local customers at 20-30% discount
- Result:
- π Reduced shipping (no long-distance transport)
- π° Company saves on logistics costs
- ποΈ Local customers get discounted products
- π Carbon footprint reduced significantly
- β»οΈ Faster product lifecycle
Our system manages 10 local warehouses across major Indian states:
- Delhi - Northern hub (110001)
- Uttar Pradesh - Eastern UP hub (226001)
- Maharashtra - Western hub (400001)
- Karnataka - South-central hub (560001)
- Tamil Nadu - Southern hub (600001)
- West Bengal - Eastern hub (700001)
- Rajasthan - Western hub (302001)
- Gujarat - Western hub (380001)
- Punjab - North-western hub (141001)
- Haryana - Northern hub (122001)
Customer Return (Local Area)
β
Local Warehouse (Same State/Region)
β
Quality Assessment & Pricing (Discounted)
β
Recommendation to Local Customers
β
Quick Local Sale
β
Customer Happy | Company Saves Costs | Reduced Emissions
- Manage all warehouses and inventory
- Monitor return requests
- Track resale performance
- View carbon footprint savings
- Browse returned & discounted products in local warehouse
- Filter by location & condition
- Place orders for nearby products
- Reduce product cost while supporting sustainability
- Monitor product returns
- Get analytics on local resale performance
- Reduce reverse logistics costs
- Understand local market demand
- React.js - UI framework
- React Router DOM - Page navigation
- Leaflet.js - Geographic mapping for warehouse locations
- Tailwind CSS - Responsive styling
- Axios - API communication
- Node.js - Runtime environment
- Express.js - REST API framework
- MongoDB - NoSQL database for scalability
- Location-based product discovery (using coordinates)
- Role-based authentication & authorization
- Real-time inventory management
- Order processing system
- Warehouse capacity tracking
Local-Return-Resell-Warehouse-System/
βββ client/ # React frontend
β βββ public/
β βββ src/
β β βββ pages/ # Page components (Dashboards, Login, etc.)
β β βββ services/ # API integration
β β βββ App.js # Main app component
β β βββ index.js # React entry point
β βββ tailwind.config.js # Tailwind configuration
β βββ package.json
β
βββ server/ # Node.js backend
βββ models/ # Database schemas (Warehouse, Product, User, Order)
βββ routes/ # API endpoints
βββ controllers/ # Business logic
βββ middleware/ # Authentication & validation
βββ seed.js # Database seeding with sample data
βββ package.json
- Track inventory by warehouse location
- Monitor capacity and stock levels
- Location coordinates for geographic mapping
- Automatic price reduction for returned items (Condition-based)
- Condition ratings: A (Excellent), B (Good), C (Fair)
- Products matched to customers in the same state/region
- Customers can browse and purchase discounted products
- Orders fulfilled from nearest local warehouse
- Reduced shipping distance and cost
- Admin Dashboard - Warehouse analytics & management
- Customer Dashboard - Browse local discounted products
- Producer Dashboard - Return trends & analytics
- Find products near your location (using pincode/coordinates)
- Filter by warehouse, category, condition, and price
- Before: Dehradun β Delhi Central β Producer Location (500+ km, high emissions)
- After: Dehradun Local Warehouse β Local Customer (10-50 km, minimal emissions)
- Estimated Reduction: ~80% fewer transportation emissions per return
- Company: Saves on reverse logistics & storage
- Customers: Get products at 20-30% discount
- Producers: Faster turnover, reduced storage pressure
- Keeps products in local economy
- Reduces landfill waste through reselling
- Encourages circular economy model
- Lower carbon footprint = Better brand image
- Node.js (v14+)
- MongoDB (local or cloud)
- npm or yarn
cd server
npm install
# Create .env file with MONGO_URI and other config
npm run seed # Load sample warehouse & product data
npm start # Start Express server on port 5000cd client
npm install
npm start # Start React app on port 3000The seed.js file initializes:
- 10 local warehouses across Indian states
- Sample returned products with conditions and prices
- Each warehouse linked to specific geographic locations
Customer returns a product from their location
Product assessed at the local warehouse in their state
- Original Price β Discounted Price based on condition
- Condition A: 15-20% discount
- Condition B: 25-35% discount
- Condition C: 40-50% discount
System recommends product to other customers in the same state
Local customer buys at discounted price with minimal shipping
β
Product resold locally
β
Carbon emissions avoided
β
Everyone benefits (Win-Win-Win)
- π€ AI-based dynamic pricing based on local demand
- π Real-time warehouse inventory synchronization
- π³ Integrated payment gateway
- π± Mobile app for better UX
- π Push notifications for matching local products
- πΊοΈ Heat map for warehouse optimization
- π Loyalty rewards for sustainable shopping
We welcome contributions! Please fork the repository and submit pull requests with improvements.
This project is open source and available under the MIT License.
For questions or suggestions about the ReLocal project, please create an issue in the repository.
Together, let's make returns more local and sustainable! πβ»οΈ