Skip to content

EcoFinds — A premium Next.js + Neon Postgres marketplace for sustainable, second-hand products with luxury UI, smooth animations, and a seamless user experience.

Notifications You must be signed in to change notification settings

Dash10107/EcoFind

Repository files navigation

EcoFinds logo

EcoFinds Marketplace

Sustainable Luxury Marketplace | Built for the OdooNMIT Hackathon
Where luxury meets sustainability
Next.js TypeScript Prisma Tailwind CSS PostgreSQL Contributors License: MIT


About

EcoFinds is a sustainable marketplace platform enabling users to buy and sell pre-owned luxury items, promoting environmental consciousness and reducing waste via the circular economy model. Built as a hackathon project, its goal is to merge luxury commerce with real-world sustainability.


Features

  • Secure Authentication: JWT-based login (bcrypt hashed passwords)
  • Product Management: List, edit, and manage luxury resale products with multi-image support
  • Shopping Cart: Full cart system with quantity controls
  • Order Tracking: End-to-end order lifecycle (confirmation, shipping, delivery)
  • Smart Categories: Fashion, Electronics, Home & Garden, Books, Sports, and Beauty
  • Beautiful UI: Modern, responsive design (Tailwind, Framer Motion & GSAP)
  • Genuine Sustainability Focus: Extends product lifecycles

Getting Started

Prerequisites

  • Node.js 18+
  • npm or pnpm
  • Neon PostgreSQL account

Installation

Expand for setup instructions
git clone https://github.com/VirusHacks/OdooNMIT-Hustlers.git
cd OdooNMIT-Hustlers
npm install  # or pnpm install
  1. Add a .env file:
DATABASE_URL="postgresql://username:password@host/database?sslmode=require"
JWT_SECRET="your-super-secret-jwt-key-here"
  1. Set up the database:

Recommended:

npm run setup

Manual:

npx prisma generate
npx prisma db push
npx prisma db seed
  1. Start development server:
npm run dev

Visit http://localhost:3000

Test Accounts (after seeding):

  • alice@example.com / password123
  • bob@example.com / password123

Tech Stack

Frontend:
Next.js 14, React 18
Tailwind CSS, Radix UI, Lucide Icons
Framer Motion, GSAP, Geist Fonts
Backend:
PostgreSQL (Neon)
Prisma ORM, JWT Auth
Next.js API Routes
Dev Tools:
TypeScript (97.2%)
ESLint, Prettier, Git

Project Structure

OdooNMIT-Hustlers/
├── app/            # Next.js app directory (APIs, dashboard, auth, listings)
├── components/     # UI components and providers
├── lib/            # Prisma client, auth helpers, utilities
├── prisma/         # Schema and data seeding
├── public/         # Static files
└── ...

Database Entities

  • Users – Authentication & profiles
  • Categories – Product categorization
  • Listings – All product listings
  • Cart Items – User carts
  • Orders – Order management
  • Order Items – Line items in orders

Categories: 👗 Fashion ‧ 📱 Electronics ‧ 🏠 Home & Garden ‧ 📚 Books ‧ ⚽ Sports ‧ 💄 Beauty


Contributing

How to contribute
  • Fork this repo and create your branch (feature/AmazingFeature).
  • Commit your changes (git commit -m 'Add AmazingFeature').
  • Push and open a pull request.
  • Follow TypeScript and code guidelines.

Contributors

Daksh Jain
Daksh Jain

💻 Full-stack Development
Vinisha K Bhagwani
Vinisha K Bhagwani

🎨 Frontend & UI/UX
Vinay Vora
Vinay Vora

📦 Backend & Infra

License

This project is MIT licensed.


Made with ❤️ for a sustainable future
EcoFinds – Where luxury meets sustainability 🌱

About

EcoFinds — A premium Next.js + Neon Postgres marketplace for sustainable, second-hand products with luxury UI, smooth animations, and a seamless user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages