A weather-based clothing recommendation web application.
The website is designed to help users decide what to wear based on real-time weather data. Users can view the current weather, toggle between Fahrenheit and Celsius, and see clothing items filtered based on the weather conditions. Users can also add and delete clothing items, with all data persisting through a connected backend API.
This project features a responsive design, modular React components, state management using hooks and context, and full CRUD functionality with a RESTful API.
- React
- JavaScript (ES6+)
- React Hooks (useState, useEffect, useContext)
- React Router
- Context API
- CSS (Flexbox, Grid, Media Queries)
- BEM Methodology
- RESTful API integration
- 🌡️ Real-time weather data based on location
- 👕 Clothing recommendations based on temperature and weather type
- ➕ Add new clothing items (name, image URL, weather type)
- 🗑️ Delete clothing items
- 🔍 Filter clothing items based on current weather
- 🌗 Toggle between Fahrenheit and Celsius
- 🪟 Modal system for viewing and adding items
- ⚡ Dynamic UI updates without page reload
Check out this video, where I describe my project and some challenges I faced while building it.
The application uses a RESTful API for data management:
GET /items→ Get all clothing itemsPOST /items→ Add a new clothing itemDELETE /items/:id→ Delete a clothing item
- External weather API provides:
- Temperature data
- Weather conditions
- Location-based forecasts