Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/njordulv/weather
The application fetches and displays weather data for the current day and the next 5 days
https://github.com/njordulv/weather
material-ui react tailwindcss typescript zustand
Last synced: 9 days ago
JSON representation
The application fetches and displays weather data for the current day and the next 5 days
- Host: GitHub
- URL: https://github.com/njordulv/weather
- Owner: njordulv
- License: mit
- Created: 2024-06-11T20:06:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-08T12:57:02.000Z (about 2 months ago)
- Last Synced: 2024-11-08T13:45:38.083Z (about 2 months ago)
- Topics: material-ui, react, tailwindcss, typescript, zustand
- Language: TypeScript
- Homepage: https://njordulv-weather.netlify.app/
- Size: 927 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Weather Forecast Application
### Description
Weather App is a web application for displaying weather forecasts, developed using React, TypeScript, Zustand, Material UI and TailwindCSS.
The app provides users with up-to-date weather information, including current conditions and a 5-day forecast.### Features
- Display current weather for a selected city, state or region
- 5-day weather forecast
- Toggle between metric and imperial measurement systems
- Responsive design for various devices
- Optimized performance using React Hooks and memoization### Technologies
- Frontend library: React ^18
- State Management: Zustand
- UI design system: Material UI, TailwindCSS
- Languages: TypeScript
- Libraries: Framer Motion, Weather React Icons
- API: OpenWeather### Installation
1. Clone the repository:
git clone https://github.com/njordulv/weather.git
cd weather2. Install dependencies:
yarn install
3. Set up the OpenWeather API key:
- To ensure the app functions properly, you need to add a OpenWeather API key to the REACT_APP_API_KEY environment variable.
Create an .env file in the project's root directory with the following content:
- REACT_APP_API_KEY = 'your_OpenWeather_api_key_here'
- Replace 'your_OpenWeather_api_key_here' with your actual OpenWeather API key.4. Start the application:
yarn start
5. Open your web browser and navigate to [http://localhost:3000](http://localhost:3000) to access the app.
### API Usage
The application uses [Weather API service name] to fetch weather data. Make sure you have a valid API key and it's properly configured in the project.
### Configuration
No additional configuration is needed to run the application under normal circumstances. However, you may need to configure your GitHub API access token if you encounter rate limits.
### Contributing
Contributions are welcome! Please fork the repository and submit pull requests to the develop branch. For substantial changes, please open an issue first to discuss what you would like to change. Ensure to update tests as appropriate.
## Screenshot
![Weather App Screenshot](./public/screenshot.jpg)
### License
This project is licensed under the [MIT License](LICENSE).
This project was bootstrapped with
[Create React App](https://github.com/facebook/create-react-app).