A modern, responsive e-commerce platform showcasing authentic Nepalese handmade crafts and connecting customers with skilled artisans across Nepal.
- Product Catalog: Browse thousands of authentic handmade products
- Advanced Search & Filtering: Find products by category, price, artisan, and more
- Shopping Cart: Add items with real-time cart count updates
- Secure Checkout: SSL-encrypted payment processing
- Order Management: Track orders and view order history
- Artisan Profiles: Detailed profiles showcasing craftspeople and their stories
- Product Management: Artisans can manage their product listings
- Sales Analytics: Dashboard with sales insights and performance metrics
- Verification System: Verified artisan badges for quality assurance
- Responsive Design: Optimized for desktop, tablet, and mobile
- Modern Theme: Beautiful amber/orange gradient design
- Glassmorphism Effects: Contemporary UI with backdrop blur effects
- Smooth Animations: Hover effects and transitions throughout
- Next.js 15 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Accessible component primitives
- Lucide React - Beautiful icons
- Embla Carousel - Touch-friendly carousels
- Drizzle ORM - Type-safe database operations
- PostgreSQL - Robust relational database
- NextAuth.js - Authentication and session management
- Server Actions - Secure server-side operations
- Docker - Containerized deployment
- Vercel - Hosting and deployment platform
- Cloudinary - Image optimization and delivery
- Node.js 18+
- PostgreSQL database
- Cloudinary account (for image storage)
-
Clone the repository
git clone https://github.com/GosuCode/DOKO.git cd DOKO -
Install dependencies
npm install
-
Environment Setup
cp .env.example .env.local
Configure your environment variables:
DB_CONNECTION_STRING=supabase_connection_string DATABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=supabase_anon_key NODE_ENV=development AUTH_SECRET="your_auth_secret" AUTH_GOOGLE_ID=your_google_auth_id AUTH_GOOGLE_SECRET=your_google_auth_secret AUTH_DRIZZLE_URL=drizzle_auth_url NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=cloudinary_cloud_name NEXT_PUBLIC_UPLOAD_PRESET=cloudinary_upload_preset CLOUDINARY_API_SECRET=your_cloudinary_api_secret CLOUDINARY_API_KEY=your_cloudinary_api_key
4. **Database Setup**
```bash
npm run db:push
-
Start Development Server
npm run dev
-
Open in Browser Navigate to http://localhost:3000
# Development
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
# Database
npm run db:push # Push schema to database
npm run db:studio # Open Drizzle Studio
# Linting
npm run lint # Run ESLint
npm run lint:fix # Fix ESLint errors# Build and start containers
docker-compose up -d
# View logs
docker-compose logs -f
# Stop containers
docker-compose down# Build image
docker build -t artisan-nepal .
# Run container
docker run -p 3000:3000 artisan-nepal- Real-time search with instant results
- Filter by category, price range, artisan, and ratings
- Sort by popularity, price, newest, and ratings
- Grid and list view options
- Add to cart with quantity selection
- Real-time cart count in header
- Secure checkout process
- Order confirmation and tracking
- Comprehensive artisan profiles
- Product portfolio management
- Sales analytics and insights
- Verification and quality badges
- Sales analytics and charts
- Product and order management
- User and artisan management
- Performance metrics
We welcome contributions!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for preserving and promoting Nepalese craftsmanship




