This is a weather forecast application where you can search for cities and add them to your favorites list.
Create a weather application where users can input a city name and view current weather information.
- Use React to create the weather application.
- Provide an input field for users to enter a city name.
- Provide a button that, when clicked, create an information card of current weather for the city.
- Use a free weather API, such as OpenWeatherMap API (requires a free API key).
- Display the city name, temperature, and weather description.
- Display weather information in card format, allowing users to add multiple weather cards.
- Users can create, read, update, and delete weather cards.
- Ensure good component separation and organisation.
- Users can reorder weather cards by dragging them.
- Change the card background based on the city or weather.
- Using third-party packages for Advanced Requirements is allowable.
- Create a .env file to store the API key.
- Git commit history is traceable.
- Readme file is needed.
- You can choose the OpenWeatherMap API or any other free api to finish this assignment.
pnpm install
pnpm run dev