A modern React web application that uses AI to analyze photos and provide personalized fashion recommendations based on color analysis, event type, and user preferences.
- Photo Upload & Analysis: Drag-and-drop photo upload with AI-powered color analysis
- Event-Based Recommendations: Tailored suggestions for parties, weddings, work, casual, formal, and date nights
- Color Tone Detection: AI analysis of skin tone and color palette recommendations
- Personalized Shopping: Direct links to purchase recommended clothing items
- User Authentication: Secure login and signup with profile management
- Responsive Design: Beautiful, modern UI that works on all devices
- Data Persistence: Save preferences and analysis history
- Frontend: React 18 with Hooks
- Styling: Tailwind CSS
- Routing: React Router DOM
- File Upload: React Dropzone
- Icons: Lucide React
- Notifications: React Hot Toast
- Color Analysis: Custom AI simulation with color theory
-
Clone the repository
git clone <repository-url> cd KRUSH_AI
-
Install dependencies
npm install
-
Start the development server
npm start
-
Open your browser Navigate to
http://localhost:3000
- Visit the homepage and click "Get Started Free"
- Create an account or sign in to your existing account
- Upload a clear photo of yourself using the drag-and-drop interface
- Select the event type (party, wedding, work, etc.)
- Choose your age range and color tone preference
- Click "Analyze & Get Recommendations"
- Review your AI-detected color palette and skin tone analysis
- Browse personalized clothing recommendations
- Click "Buy Now" to purchase items from external retailers
- Save items you like for future reference
- Update your personal information and preferences
- View your saved items and analysis history
- Customize your event preferences and color tone settings
- Detects dominant colors in uploaded photos
- Analyzes skin tone (warm, cool, neutral, olive)
- Recommends seasonal color palettes (Autumn, Winter, Spring, Summer)
- Provides confidence scores for analysis accuracy
- Party: Bold, statement pieces for social events
- Wedding: Elegant, sophisticated attire for special occasions
- Work/Office: Professional, polished business wear
- Casual: Comfortable, everyday fashion
- Formal: High-end, luxury clothing options
- Date Night: Romantic, attractive ensembles
- Direct links to external retailers
- Product ratings and reviews
- Price comparison
- Save favorite items
- Shopping tips and style advice
Edit the events
array in src/pages/Dashboard.js
:
const events = [
{ id: 'new-event', name: 'New Event', icon: '🎯' },
// ... existing events
];
Update the color detection logic in src/pages/Dashboard.js
:
const mockResults = {
dominantColors: [
{ color: '#HEXCODE', name: 'Color Name', percentage: 25 },
// ... more colors
],
// ... other properties
};
Modify the Tailwind configuration in tailwind.config.js
:
theme: {
extend: {
colors: {
primary: {
// Custom primary color palette
}
}
}
}
The application is fully responsive and optimized for:
- Desktop computers (1200px+)
- Tablets (768px - 1199px)
- Mobile phones (320px - 767px)
- Client-side form validation
- Secure password handling
- Protected routes for authenticated users
- Data persistence with localStorage
- Input sanitization
npm run build
- Connect your GitHub repository to Netlify
- Set build command:
npm run build
- Set publish directory:
build
- Deploy automatically on push to main branch
- Install Vercel CLI:
npm i -g vercel
- Run:
vercel
- Follow the prompts to deploy
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -am 'Add feature'
- Push to the branch:
git push origin feature-name
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue in the GitHub repository
- Contact the development team
- Check the documentation
- Real AI integration for color analysis
- Machine learning for better recommendations
- Social sharing features
- Virtual try-on capabilities
- Integration with more retailers
- Advanced filtering and search
- Style quiz for better personalization
- Seasonal trend analysis
Built with ❤️ using React and Tailwind CSS # KRUSH_AI