About This Architecture
Closet Mate is a React Native mobile app with Python Flask backend that helps users manage wardrobes and receive outfit recommendations. The smartphone app communicates via HTTP REST API over local Wi-Fi to a Flask server exposing /auth, /clothes, /recommend, /feedback, and /image endpoints. A MySQL database stores users, clothes, outfits, and feedback with proper foreign key relationships, while the backend integrates OpenWeather API for weather-aware suggestions and rembg for AI-powered background removal on clothing images. This architecture demonstrates a practical three-tier pattern suitable for personal productivity apps requiring offline-first local networking and lightweight ML integration. Fork this diagram on Diagrams.so to customize endpoints, add cloud deployment stages, or extend with additional recommendation algorithms.