Welcome to Trendhora β your gateway to a seamless online shopping experience built with the MERN stack.
Explore the Live Demo Β»
Report Bug β’ Request Feature
Make Trendhora the goβto modern eβcommerce platform that delivers fast, secure, and delightful shopping experiences while enabling maintainable, extensible code for teams and contributors.
- Delight customers with a smooth, responsive UI and fast checkout.
- Empower admins with simple tools for catalog, order, and user management.
- Maintain a scalable, testable MERN codebase thatβs easy to extend and deploy.
π Exciting News...
π This project is now an official part of GirlScript Summer of Code β GSSoC'25! π» We're thrilled to welcome contributors from all over India and beyond to collaborate, build, and grow trendhora! Letβs make learning and career development smarter β together! π
GSSoC is one of Indiaβs largest 3-month-long open-source programs that encourages developers of all levels to contribute to real-world projects while learning, collaborating, and growing together.
π With mentorship, community support, and collaborative coding, it's the perfect platform for developers to:
- β¨ Improve their skills
- π€ Contribute to impactful projects
- π Get recognized for their work
- π Receive certificates and swag!
π I canβt wait to welcome new contributors from GSSoC 2025 to this trendhora project family! Let's build, learn, and grow together β one commit at a time.
π Hacktoberfest is here!
Weβre thrilled to announce that this project is also participating in Hacktoberfest 2025 β a month-long celebration of open-source software organized by DigitalOcean, GitHub, and other amazing communities!
π» Whether you're a beginner or an experienced developer, this is your chance to:
- π± Learn and grow through real-world contributions
- π€ Collaborate with developers across the globe
- π§ Sharpen your coding and problem-solving skills
- π Earn exclusive Hacktoberfest swag and certificates!
π₯ Contribute today and become a part of this global open-source movement. Every meaningful PR counts!
Letβs code, learn, and celebrate open source together β one pull request at a time! πͺ
Trendhora combines a polished front-end experience with a robust Node/Mongo back end to help small teams ship a production-ready marketplace quickly.
- For buyers: fast browsing, intuitive product discovery, responsive UI, and smooth checkout flow.
- For admins: easy product management, order tracking, and role-based controls.
- For teams: standard MERN architecture, clear project structure, seed data for quick testing, and ready-to-deploy scripts.
- π Explore & Shop - Browse through an extensive range of products across various categories
- π± User-Friendly Interface - Enjoy a smooth shopping experience with an intuitive and responsive design
-
π οΈ Manage Marketplace - Effortlessly control and update product listings
-
π₯ Customer Account Management - Handle customer accounts and ensure smooth operation of the marketplace
-
β Dynamic Item Creation - Create new products with comprehensive details including images, pricing, stock management, and multiple size options through an intuitive admin dashboard
Make sure you have these installed on your machine:
node --version # v16.0.0 or higher
npm --version # v8.0.0 or higher-
Clone the repository
git clone https://github.com/agamjotsingh18/trendhora.git cd trendhora -
Install dependencies
# Install server dependencies cd server npm install # Install client dependencies cd ../client npm install
-
Environment Configuration
Create a
.envfile in theserverdirectory:NODE_ENV=development PORT=5000 MONGO_URI=mongodb+srv://<username>:<password>@cluster.mongodb.net/<database>
-
Database Setup
# Navigate to server directory cd server # Seed the database with sample data npm run seed
-
Start the Application
# Terminal 1: Start the backend server cd server npm run dev # Terminal 2: Start the frontend (in a new terminal) cd client npm start
-
Access the Application
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
trendhora/
βββ client/ # React frontend
β βββ public/ # Public assets
β βββ src/
β β βββ components/ # Reusable components
β β βββ pages/ # Page components
β β βββ context/ # Context providers
β β βββ hooks/ # Custom hooks
β β βββ utils/ # Helper functions
β βββ package.json
βββ server/ # Express backend
β βββ controllers/ # Route controllers
β βββ models/ # Mongoose models
β βββ routes/ # API routes
β βββ middleware/ # Custom middleware
β βββ config/ # Database config
β βββ package.json
βββ README.md
βββ LICENSE
npm start # Start development server
npm run build # Build for production
npm test # Run tests
npm run eject # Eject from Create React Appnpm run dev # Start with nodemon
npm start # Start production server
npm run seed # Populate database with sample data
npm test # Run testsWe love contributions! Please see our Contributing Guidelines for details.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Found a bug or have a feature request? Please check our Issues page.
- Server won't start: check server/.env (PORT, MONGO_URI) and run
cd server && npm install && npm run dev. - MongoDB errors: verify MONGO_URI, Atlas IP whitelist, or test with MongoDB Compass.
- Frontend CORS / 404s: ensure client runs (npm start) and backend allows client origin or use a dev proxy.
- Port conflict (Windows): find PID
netstat -ano | findstr :3000thentaskkill /PID <pid> /F. - Seed or build fails: inspect terminal error, reinstall deps (
npm ci) and retry seed/build. - Still stuck: collect frontend console logs, backend logs, exact error and open an issue with steps and screenshots.
This project is licensed under the MIT License.
You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the project.
For full details, see the LICENSE file.
- Material-UI for the beautiful component library
- MongoDB for the flexible database solution
- The open-source community for inspiration and support


.png)


