Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rajdip-b/weather-website

This is a simple weather app that uses the OpenWeather API to display the current weather city that the user searches for.
https://github.com/rajdip-b/weather-website

axios momentjs nextjs reactjs weather-app

Last synced: 6 days ago
JSON representation

This is a simple weather app that uses the OpenWeather API to display the current weather city that the user searches for.

Awesome Lists containing this project

README

        

# Weather App

## Description

This is a simple weather app that uses the OpenWeather API to display the current weather city that the user searches
for.
![Landing](./.blob/landing.png)
![Weather Data](./.blob/weather.png)

## Getting Started

- Clone the repository:
```bash
git clone https://github.com/rajdip-b/weather-website
```
- Install dependencies:
```bash
npm install
```
- Create your account on [OpenWeather](https://openweathermap.org/) and get your API key.
- Make an environmental variable named `NEXT_PUBLIC_WEATHER_API_KEY` and set it to your API key.
- Run the development server:
```bash
npm run dev
```
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Built With

- [Next.js](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [OpenWeather API](https://openweathermap.org/)
- [Material Icons](https://material-ui.com/components/material-icons/)
- [Moment.js](https://momentjs.com/)
- [Axios](https://axios-http.com/)