Heartisans is a revolutionary full-stack marketplace that bridges the gap between traditional craftsmanship and modern e-commerce. Built with cutting-edge technology, it empowers artisans to showcase, sell, and auction their handcrafted treasures while providing buyers with an immersive shopping experience powered by AI-driven insights.
To preserve and promote traditional artisanship through technology, creating sustainable livelihoods for craftspeople while connecting global audiences with authentic handmade products.
- Product Catalog: Extensive collection of handcrafted items from verified artisans
- Advanced Search & Filtering: Find products by category, state, material, and price range
- Shopping Cart & Wishlist: Seamless shopping experience with persistent cart functionality
- Secure Payments: Integrated with Cashfree for safe and reliable transactions
- Real-time Bidding: WebSocket-powered live auctions with instant updates
- Auction Management: Create, manage, and participate in timed auctions
- Bidding Leaderboard: Live ranking of bidders with real-time updates
- Smart Notifications: Instant alerts for bid updates and auction status changes
- AI-Powered Pricing: SAP Business AI integration for intelligent price predictions
- Condition-Based Pricing: Transparent pricing based on item condition
- Image Recognition: Multi-image upload with cloud storage
- Interest Management: Buyer-seller communication system
- Multi-Provider Auth: Support for Google OAuth and local authentication
- OTP Verification: Email-based verification system
- Role-Based Access: Admin, Artisan, and Customer role management
- Account Security: Login attempt tracking and temporary account locking
- Artisan Plans: Monthly and yearly subscription options
- Enhanced Features: Premium tools for verified artisans
- Payment Processing: Automated subscription management
- Commission Tracking: Transparent earnings and commission system
- SAP Business AI: Enterprise-grade AI for pricing and descriptions
- Product Descriptions: AI-generated product descriptions
- Market Analysis: Intelligent pricing recommendations
- Business Intelligence: Comprehensive analytics dashboard
- Responsive Design: Optimized for all devices
- Internationalization: Multi-language support (English, Bengali, Hindi)
- Real-time Updates: Live notifications and status updates
- Story Sharing: User experience stories with image uploads
- Reviews & Ratings: Comprehensive feedback system
- Ambassador Program: Community leadership opportunities
- Admin Panel: Comprehensive platform management
Technology | Purpose |
---|---|
Frontend Framework | |
Build Tool & Dev Server | |
Client-side Navigation | |
Utility-first Styling | |
HTTP Client | |
Real-time Communication | |
Internationalization | |
State Management |
Technology | Purpose |
---|---|
Runtime Environment | |
Web Framework | |
NoSQL Database | |
ODM for MongoDB | |
WebSocket Server | |
Image Storage & CDN | |
Payment Gateway | |
Authentication Tokens | |
File Upload Middleware | |
Password Hashing | |
Email Service |
Technology | Purpose |
---|---|
Intelligent pricing and descriptions | |
Cloud-based image and video management | |
Payment gateway for secure transactions | |
Real-time bidding and notifications |
- Node.js (v16 or higher)
- MongoDB (v5 or higher)
- Git
-
Clone the repository
git clone https://github.com/imsudiptaa/Heartisans1.git cd Heartisans1
-
Backend Setup
cd backend npm install
-
Frontend Setup
cd frontend npm install
-
Environment Configuration
Create
.env
files in both backend and frontend directories:Backend
.env
:MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret CLOUD_NAME=your_cloudinary_cloud_name API_KEY=your_cloudinary_api_key API_SECRET=your_cloudinary_api_secret CASHFREE_APP_ID=your_cashfree_app_id CASHFREE_SECRET_KEY=your_cashfree_secret_key EMAIL_USER=your_email_for_notifications EMAIL_PASS=your_email_password GOOGLE_CLIENT_ID=your_google_oauth_client_id GOOGLE_CLIENT_SECRET=your_google_oauth_client_secret
-
Start Development Servers
Backend:
cd backend npm run dev
Frontend:
cd frontend npm run dev
-
Access the Application
- Frontend:
http://localhost:5173
- Backend API:
http://localhost:5000
- Frontend:
Heartisans1/
โโโ ๐ backend/
โ โโโ ๐ config/ # Configuration files
โ โโโ ๐ controllers/ # Route handlers
โ โโโ ๐ middleware/ # Custom middleware
โ โโโ ๐ models/ # Database schemas
โ โโโ ๐ routes/ # API routes
โ โโโ ๐ services/ # Business logic
โ โโโ ๐ utils/ # Utility functions
โ โโโ ๐ server.js # Entry point
โโโ ๐ frontend/
โ โโโ ๐ public/ # Static assets
โ โโโ ๐ src/
โ โ โโโ ๐ components/ # React components
โ โ โโโ ๐ pages/ # Page components
โ โ โโโ ๐ contexts/ # React contexts
โ โ โโโ ๐ hooks/ # Custom hooks
โ โ โโโ ๐ i18n/ # Internationalization
โ โ โโโ ๐ constants/ # App constants
โ โโโ ๐ index.html # Entry HTML
โโโ ๐ README.md
The real-time auction system is powered by Socket.io, enabling:
- Live Bidding: Instant bid updates across all connected clients
- Auction States: Automatic management of upcoming, live, and ended auctions
- Bid Validation: Server-side validation to prevent invalid bids
- Real-time Leaderboard: Dynamic ranking updates
SAP Business AI powers intelligent features:
- Price Prediction: Market-based pricing recommendations
- Content Generation: AI-generated product descriptions
- Market Analysis: Comprehensive analytics and insights
- Condition Assessment: Automated quality evaluation
Secure payment handling with:
- Multiple Payment Methods: Cards, UPI, Net Banking, Wallets
- Subscription Management: Automated recurring payments
- Commission Tracking: Transparent fee calculation
- Refund Processing: Automated refund workflows
Comprehensive insights including:
- Sales Analytics: Revenue, orders, and performance metrics
- User Behavior: Engagement and interaction patterns
- Product Performance: Best-selling items and categories
- Market Trends: Pricing and demand analysis

Beautiful hero section showcasing handcrafted treasures



Comprehensive product catalog with advanced filtering

Real-time bidding with WebSocket-powered updates
Backend:
npm run dev
- Start development server with nodemonnpm start
- Start production servernpm test
- Run tests
Frontend:
npm run dev
- Start Vite development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
Heartisans supports multiple languages:
- English (Default)
- Bengali (เฆฌเฆพเฆเฆฒเฆพ)
- Hindi (เคนเคฟเคจเฅเคฆเฅ)
- Tamil (เฎคเฎฎเฎฟเฎดเฏ)
- Telugu (เฐคเฑเฐฒเฑเฐเฑ)
Language files are located in frontend/src/i18n/
with easy expansion for additional languages.
- JWT Authentication: Secure token-based authentication
- Password Hashing: bcrypt for secure password storage
- Rate Limiting: API rate limiting to prevent abuse
- Input Validation: Comprehensive data validation
- CORS Protection: Controlled cross-origin requests
- Image Optimization: Cloudinary automatic optimization
- Code Splitting: React lazy loading and Vite optimization
- Database Indexing: Optimized MongoDB queries
- Caching: Strategic caching for frequently accessed data
- CDN Integration: Global content delivery
- Bundle Analysis: Webpack bundle optimization
Profile | Name | Social Links |
---|---|---|
![]() |
Sudipta Mandal | |
![]() |
Khushi Kumari Gupta | |
![]() |
Md Haaris Hussain | |
![]() |
Sk Faizanuddin | |
![]() |
Sangneel Deb |
We're grateful to all contributors who have helped make Heartisans a reality. Every contribution, from code to feedback, helps preserve and promote traditional artisanship.
Want to join our team? We're always looking for passionate developers, designers, and artisan advocates. Check out our Contributing Guidelines to get started!
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a 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
- Follow the existing code style
- Write clear commit messages
- Add tests for new features
- Update documentation as needed
- Email: [email protected]
- GitHub Issues: Create an Issue
- Documentation: Wiki
This project is licensed under the MIT License - see the LICENSE file for details.
- React Team for the amazing frontend framework
- MongoDB for the flexible database solution
- Cloudinary for robust media management
- SAP for enterprise-grade AI capabilities
- Cashfree for secure payment processing
- Socket.io for real-time functionality