A modern, full-stack marketplace platform showcasing India's rich heritage of handmade crafts and artisan products
- ποΈ Browse & Shop - Discover unique handmade products from local artisans
- π Smart Cart - Add/remove items with real-time updates
- π Secure Authentication - JWT-based sign up and login system
- π Personal Dashboard - Track orders, manage profile, and view purchase history
- π― Product Filtering - Find exactly what you're looking for
- π Multi-Step Registration - Streamlined seller onboarding process
- β Live Validation - Real-time form validation with progress tracking
- β³ Admin Approval System - Quality control through admin verification
- π Seller Dashboard - Manage products and track sales
- π¨βπΌ Seller Management - Approve or reject seller applications
- π Clean Interface - Intuitive admin dashboard for easy management
- π Application Review - Detailed seller application screening
| Route | Description | Access Level |
|---|---|---|
/ |
π Landing page with welcome banner | Public |
/signin |
π User login form | Public |
/signup |
βοΈ New user registration | Public |
/shop |
ποΈ Product catalog from artisans | Public |
/artisans |
π₯ Artisan directory with filters | Public |
/cart |
π Shopping cart management | User |
/dashboard |
π User profile & order history | User |
/register-as-seller |
π Seller application form | User |
/admin |
βοΈ Admin panel for approvals | Admin |
- βοΈ React.js - Modern UI library
- π React Router - Client-side routing
- π Context API - State management
- π‘ Axios - HTTP client
- π¨ Tailwind CSS - Utility-first styling
- π― React Icons - Beautiful icon library
- π’ Node.js - Server runtime
- β‘ Express.js - Web framework
- π MongoDB - NoSQL database
- π JWT - Authentication tokens
- π bcrypt - Password hashing
POST /api/signup - Register new user
POST /api/signin - User login
POST /api/sellers - Submit seller application
GET /api/sellers/pending - Fetch pending applications
PATCH /api/sellers/:id/approve - Approve/reject seller
GET /api/products - Fetch all products
POST /api/cart - Add item to cart
GET /api/cart - Retrieve user cart
artisan-india/
βββ π frontend/
β βββ π src/
β β βββ π components/
β β β βββ Home.jsx
β β β βββ SignIn.jsx
β β β βββ SignUp.jsx
β β β βββ Shop.jsx
β β β βββ Artisans.jsx
β β β βββ Cart.jsx
β β β βββ Dashboard.jsx
β β β βββ RegisterAsSeller.jsx
β β β βββ AdminDashboard.jsx
β β βββ π context/
β β β βββ AuthContext.js
β β βββ π styles/
β β βββ App.js
βββ π backend/
β βββ π models/
β βββ π routes/
β βββ π middleware/
β βββ server.js
βββ README.md
- Node.js (v14 or higher)
- MongoDB (local or cloud)
- Git
-
Clone the repository
git clone https://github.com/yourusername/artisan-india.git cd artisan-india -
Setup Frontend
cd frontend npm install npm startFrontend runs on
http://localhost:3000 -
Setup Backend
cd backend npm install -
Environment Configuration Create
.envfile in backend directory:MONGO_URI=your-mongodb-connection-string JWT_SECRET=your-super-secret-key PORT=5000
-
Start Backend Server
npm run dev
Backend runs on
http://localhost:5000
- JWT-based secure authentication
- AuthContext manages user sessions across components
- Protected routes for dashboard and admin access
- Role-based access control (User/Seller/Admin)
- Mobile-first responsive design
- Figma-inspired UI components
- Clean & intuitive user experience
- Accessibility focused development
- Performance optimized React components
We welcome contributions! Please follow these steps:
- Fork the repository
- 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
This project is licensed under the MIT License - see the LICENSE file for details.
- Icons: FontAwesome & React Icons
- UI/UX: Figma design system
- Community: React and Node.js communities
- Inspiration: Supporting local artisans and traditional crafts
Made with β€οΈ for Indian Artisans
Artisans India - Preserving Heritage, Embracing Technology
- Frontend setup with React
- Backend API with Express & MongoDB
- User authentication system
- Seller registration workflow
- Admin approval system
- Payment integration
- Order management
- Email notifications
- Advanced search & filters
- Live Demo: [Coming Soon]
- API Documentation: [Coming Soon]
- Design System: [Figma Link]
β If you found this project helpful, please give it a star! It helps others discover the project.