This is a weather forecast application built with Next.js and Axios. The application fetches weather data for a given city and allows the user to view the temperature in either Celsius or Fahrenheit. It also handles errors gracefully and provides feedback to the user when a city is not found or an error occurs.
- Next.js
- Axios
- VSCode
This application fetches weather data for a given city and displays it to the user. The user can choose to view the temperature in Celsius or Fahrenheit. The application also handles errors, such as when the city is not found, and displays an appropriate error message to the user.
To get a local copy up and running follow these simple example steps.
- Node.js installed on your local machine
- NPM or Yarn to manage the packages
Clone the repository to your local machine:
git clone https://github.com/moise-mulungu/weather-forecast
Navigate to the project directory and install the dependencies:
cd weather-forecast
npm install
# or
yarn install
npm run dev
# or
yarn dev
To build the application for production, use the following command:
npm run build
# or
yarn build
👤 Moise Mulungu
- GitHub: @moise-mulungu
- Twitter: @moise_mulungu
- LinkedIn: Moïse (Musa) Mulungu
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.