working_demo.mp4
The Myntra Fashion Ecosystem is a revolutionary social shopping platform that transforms the traditional e-commerce experience into an interactive, collaborative, and AI-powered journey. Built as a comprehensive solution for the Myntra hackathon, this platform addresses the critical gap in social shopping experiences by creating persistent group spaces, intelligent AI assistance, and shared wardrobe management.
Online shopping has become increasingly isolated, with users resorting to fragmented solutions like sharing product links via WhatsApp or creating unorganized external mood boards. Myntra's current AI features are siloed to individual users, lacking the group context that defines real-world shopping experiences. This platform bridges that gap by creating a unified, purpose-built ecosystem for collaborative fashion discovery and decision-making.
- Dedicated Chat Rooms: Create themed spaces for specific shopping projects
- Role-Based Permissions: Owner, Editor, Contributor, and Viewer roles
- Real-time Collaboration: Live messaging with instant synchronization
- AI Integration: Intelligent fashion assistant responds to group conversations
- Real-time Product Browsing and Suggestions: Users can converse and add items to the linked wardrobe
- Synchronized Browsing: Participants can see the same products simultaneously
- Collaborative Collections: Build shared wardrobes with friends and family
- Granular Permissions: Control who can add, edit, or view items
- AI Outfit Suggestions: Get intelligent styling recommendations
- Purchase Tracking: Monitor what's been bought and what's still needed
Mobile App (iOS/Android)
├── UI Components
│ ├── Maya Chat Interface
│ ├── Product Cards
│ ├── Wardrobe Management
│ └── Room Management
├── State Management
│ ├── Session Context
│ ├── Real-time Updates
│ └── Offline Support
├── API Integration
│ ├── REST API Calls
│ ├── Socket.io Real-time
│ └── AI Service Integration
└── Navigation
├── Tab Navigation
├── Stack Navigation
└── Modal Presentations
Server Architecture
├── Authentication
│ ├── JWT Token Management
│ ├── Role-Based Access Control
│ └── User Session Management
├── Database Layer
│ ├── MongoDB Atlas
│ ├── Optimized Schemas
│ └── Indexed Queries
├── AI Integration
│ ├── OpenAI GPT-3.5-turbo
│ ├── Fashion Recommendation Engine
│ └── Context-Aware Responses
├── Real-time Communication
│ ├── Socket.io Server
│ ├── Live Chat Updates
│ └── Voice Call Signaling
└── File Management
├── Cloudinary Integration
├── Image Optimization
└── Media Storage
- Node.js (v18 or higher)
- npm or yarn
- Expo CLI (
npm install -g @expo/cli) - MongoDB Atlas account
-
Clone the repository
git clone <repository-url> cd MyntraStyleRooms
-
Install Frontend Dependencies
npm install
-
Install Backend Dependencies
cd backend npm install -
Environment Setup Frontend (.env)
EXPO_PUBLIC_API_URL=http://localhost:5000/api
Backend (.env)
# Server Configuration PORT=5000 NODE_ENV=development # Database MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/myntra-fashion # JWT Configuration JWT_SECRET=your-super-secret-jwt-key-here JWT_EXPIRE=7d # Cloudinary (Image Storage) CLOUDINARY_CLOUD_NAME=your-cloud-name CLOUDINARY_API_KEY=your-api-key CLOUDINARY_API_SECRET=your-api-secret # OpenAI Configuration OPENAI_API_KEY=your-openai-api-key
-
Start the Backend Server
cd backend npm run dev -
Start the Frontend App
# In a new terminal npm start -
Run on Device/Simulator
- iOS: Press
iin the terminal or scan QR code with Camera app - Android: Press
ain the terminal or scan QR code with Expo Go app - Web: Press
win the terminal
- iOS: Press
| Screen | Description | Features |
|---|---|---|
| Catalog | Main product discovery | Trending products, categories, search |
| Rooms | Group chat spaces | Real-time messaging, AI integration |
| Wardrobes | Shared collections | Collaborative wardrobe management |
| Profile | User settings | Preferences, stats, badges |
- MayaChat: AI-powered chat interface with product recommendations
- VirtualProductCard: Interactive product display with reactions
- SessionContext: Real-time state management for live sessions
- WardrobeManager: Collaborative wardrobe management system
POST /api/auth/register # Register new user
POST /api/auth/login # Login user
GET /api/auth/me # Get current userGET /api/rooms # Get user's rooms
POST /api/rooms # Create new room
GET /api/rooms/:id # Get room details
PUT /api/rooms/:id # Update room
DELETE /api/rooms/:id # Delete roomGET /api/wardrobes # Get user's wardrobes
POST /api/wardrobes # Create new wardrobe
GET /api/wardrobes/:id # Get wardrobe details
POST /api/wardrobes/:id/items # Add item to wardrobePOST /api/ai/chat # Chat with AI stylist
POST /api/ai/outfit-suggestions # Get outfit suggestions
POST /api/ai/product-recommendations # Get product recommendations- Users: User profiles, preferences, and statistics
- Rooms: Group chat spaces with member management
- Messages: Chat messages with AI integration
- Wardrobes: Shared clothing collections
- WardrobeItems: Individual items with reactions and notes
- Products: Myntra product catalog
- LiveCalls: Voice call sessions with participants
- Notifications: Real-time user notifications
- Optimized Indexes: For fast query performance
- Virtual Fields: Computed properties and aggregations
- Pre/Post Hooks: Automatic data processing and validation
- Relationships: Proper references and population
The platform features sophisticated AI integration that provides:
- Automatic Detection: Smart keyword detection for fashion-related requests
- Context-Aware Responses: Understands group conversation context
- Product Recommendations: Structured product suggestions with details
- Fallback System: Graceful handling of API failures
- Group Chat Integration: AI responds directly in group conversations
- Fashion Expertise: Specialized knowledge in styling and trends
- Product Curation: Intelligent product recommendations
- Real-time Processing: Instant responses to user queries
- Live Chat: Real-time message synchronization
- Voice Call Signaling: WebRTC call management
- Synchronized Browsing: Shared product viewing experience
- Notification System: Instant updates and alerts
- Peer-to-Peer Communication: Direct voice connections
- Call Management: Host/participant role handling
- Quality Optimization: Adaptive bitrate and codec selection
- Mobile-First: Optimized for mobile shopping experience
- Intuitive Navigation: Easy-to-use interface for all age groups
- Real-time Feedback: Instant visual feedback for all actions
- Accessibility: Inclusive design for diverse users
- Maya Chat Interface: Conversational AI with product cards
- Product Visualization: High-quality images with interactive elements
- Gesture-Based Interactions: Swipe, tap, and hold actions
- Responsive Layout: Adapts to different screen sizes
- Database Indexing: Optimized queries for fast retrieval
- Caching: Redis for frequently accessed data
- Image Optimization: WebP format with lazy loading
- Code Splitting: Lazy loading of components
- JWT Authentication: Secure token-based authentication
- Rate Limiting: Protection against abuse
- Input Validation: Comprehensive data validation
- HTTPS: Encrypted communication
- CORS: Proper cross-origin resource sharing
- Data Encryption: Sensitive data encrypted at rest
- GDPR Compliance: User data protection
- Secure APIs: Protected endpoints with authentication
- Audit Logging: Comprehensive activity tracking
- 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
- ESLint: Code linting and formatting
- Prettier: Consistent code formatting
- TypeScript: Type safety and better development experience
- Conventional Commits: Standardized commit messages
- Name: Myntra WeForShe HackerRamp 2025
- Team: InnoCode
- Innovation: Social shopping platform with group AI
- Performance: Sub-200ms response times
- User Experience: Intuitive design for all demographics
- Position: Top 6 out of 56.2k+ teams
- Architecture: Scalable microservices architecture
- AI Integration: Advanced OpenAI integration
- Mobile: Cross-platform React Native app
- Real-time: WebRTC and Socket.io implementation
- Documentation: Comprehensive API and component docs
- Issues: GitHub Issues for bug reports
- Discussions: GitHub Discussions for questions