ShopMind is a next-generation intelligent shopping application that revolutionizes the e-commerce experience. Built with modern React and Node.js, it combines AI-powered recommendations, sustainable shopping insights, and seamless cart management to create the ultimate shopping companion.
๐ก Perfect for: E-commerce platforms, retail applications, smart shopping solutions, and sustainable commerce initiatives.
- ๐ฏ Smart product recommendations based on user behavior
- ๐ Natural language search capabilities
- ๐ Personalized shopping suggestions
- ๐ท๏ธ Advanced product filtering and categorization
- โก Real-time cart updates with live pricing
- ๐ Dynamic product quantity management
- ๐พ Persistent cart state across sessions
- ๐ผ๏ธ Beautiful product images and detailed information
- โป๏ธ Eco-friendly product highlighting
- ๐ Environmental impact scoring
- ๐ฟ Sustainable shopping recommendations
- ๐ Green shopping insights and tips
- ๐ฑ Fully responsive design for all devices
- โก Lightning-fast performance
- ๐จ Intuitive and clean interface
- ๐ญ Custom SVG illustrations for all products
Frontend | Backend | Styling | Tools |
---|---|---|---|
React 18.2 | Node.js 18+ | Tailwind CSS | VS Code |
JavaScript ES6+ | Express.js | Custom SVGs | Git |
Axios | RESTful APIs | Responsive Design | npm |
Lucide Icons | CORS | Modern UI/UX | MongoDB Ready |
ShopMind/
โโโ ๐ backend/ # Node.js Express API server
โ โโโ ๐ database/ # MongoDB connection and models
โ โโโ ๐ routes/ # API route handlers
โ โโโ ๐ utils/ # Utility functions and data
โ โโโ ๐ simple-server.js # Main server file
โ โโโ ๐ package.json # Backend dependencies
โโโ ๐ frontend/ # React application
โ โโโ ๐ public/ # Static assets
โ โ โโโ ๐ images/ # Custom product SVGs
โ โโโ ๐ src/ # React components and pages
โ โโโ ๐ package.json # Frontend dependencies
โโโ ๐ docs/ # Documentation files
โโโ ๐ scripts/ # Utility scripts
โโโ ๐ README.md # This file
โโโ ๐ LICENSE # MIT License
โโโ ๐ package.json # Root monorepo config
- Node.js (v16 or higher) - Download here
- npm or yarn package manager
- Git for version control
# Clone and install everything in one go
git clone https://github.com/Avisav24/ShopMind.git
cd ShopMind
npm run install-all
npm start
๐ That's it! Your app will be running at:
- ๐ Frontend: http://localhost:3000
- ๐ง Backend API: http://localhost:5000
Click to expand manual setup instructions
git clone https://github.com/Avisav24/ShopMind.git
cd ShopMind
# Install root dependencies
npm install
# Install backend dependencies
cd backend
npm install
cd ..
# Install frontend dependencies
cd frontend
npm install
cd ..
Option A: Start both servers with one command
npm start
Option B: Start servers separately
Terminal 1 (Backend):
cd backend
npm start
Terminal 2 (Frontend):
cd frontend
npm start
We've included convenient startup scripts for different platforms:
# Double-click or run from command line
scripts\start-shopmind.bat
# Make executable and run
chmod +x scripts/start-shopmind.sh
./scripts/start-shopmind.sh
- View AI-recommended products on the home page
- Use smart search to find specific items
- Filter by categories (fruits, dairy, bakery, etc.)
- Click "Add to Cart" on any product
- View cart with beautiful product images
- Adjust quantities in real-time
- See live price calculations
- Check eco-scores on products
- Get recommendations for sustainable alternatives
- Track your environmental impact
- Get personalized product suggestions
- Discover new items based on your preferences
- Find complementary products automatically
All product images are custom-designed SVG illustrations stored locally in frontend/public/images/products/
. This ensures:
- โก Fast Loading - No external image dependencies
- ๐จ Consistent Styling - Uniform look across all products
- ๐ฑ Scalability - Perfect quality on all screen sizes
- ๐ Reliability - No broken image links
cd backend
node test-api.js
- Check both servers are running (ports 3000 and 5000)
- Verify API connectivity at
http://localhost:5000/api/test
- Use browser dev tools (F12) to check console for errors
- Run the diagnostic tool from
docs/DIAGNOSTIC.md
- Use
npm run dev
for development mode with hot reloading - Backend logs will show API requests in real-time
- Frontend will automatically refresh on code changes
- Check network requests in browser dev tools if cart doesn't update
๐ง Common Issues & Solutions
- โ Ensure backend server is running on port 5000
- โ Check browser console for API errors
- โ Verify network requests in dev tools
- โ
Check that images exist in
frontend/public/images/products/
- โ Verify image paths in browser dev tools
- โ Clear browser cache
- โ Check if ports 3000/5000 are available
- โ
Run
npm install
in both frontend and backend directories - โ Update Node.js to v16 or higher
- โ Ensure Tailwind CSS is properly configured
- โ Check if all CSS files are loading
- โ Verify responsive design in browser dev tools
We welcome contributions from the community! Here's how you can help:
# 1. Fork the repository on GitHub
# 2. Clone your fork
git clone https://github.com/YOUR-USERNAME/ShopMind.git
# 3. Create a feature branch
git checkout -b feature/amazing-feature
# 4. Make your changes and commit
git commit -m "Add amazing feature"
# 5. Push to your branch
git push origin feature/amazing-feature
# 6. Open a Pull Request
- โ Follow the existing code style and formatting
- โ Write clear, descriptive commit messages
- โ Add tests for new features
- โ Update documentation as needed
- โ Ensure mobile responsiveness
- โ Test thoroughly before submitting
- Use the GitHub Issues tab
- Provide detailed reproduction steps
- Include screenshots for UI issues
- Mention your browser and OS version
- ๐ค Enhanced AI recommendations using machine learning
- ๐ฝ๏ธ Meal planning and recipe suggestions
- ๐ Gamification with eco-rewards system
- ๐ฑ Mobile app development
- ๐ Integration with popular payment gateways
- ๐ Advanced analytics dashboard
- ๐ Multi-language support
- Open an issue with the "enhancement" label
- Join our discussions in the GitHub Discussions tab
- Share your ideas and vote on existing proposals
Metric | Score | Status |
---|---|---|
โก Performance | 95/100 | ๐ข Excellent |
โฟ Accessibility | 98/100 | ๐ข Excellent |
๐ Best Practices | 92/100 | ๐ข Excellent |
๐ SEO | 100/100 | ๐ข Perfect |
๐ฑ Mobile Friendly | 100/100 | ๐ข Perfect |
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License - Feel free to use, modify, and distribute!
- ๐จ Custom SVG Icons - Beautiful, scalable product illustrations
- ๐ Modern Tech Stack - Built with the latest React and Node.js best practices
- ๐ฑ Sustainability Focus - Inspired by eco-friendly shopping initiatives
- ๐ค Open Source Community - Thanks to all contributors and supporters
- ๐ Check the documentation folder
- ๐ Run diagnostic tools from
docs/DIAGNOSTIC.md
- ๐ Search existing GitHub Issues
- ๐ Open a new issue if needed
๐ง Happy Shopping with ShopMind! โจ
Made with โค๏ธ by the ShopMind Team
โญ If you like this project, please give it a star! โญ