
A simple weather website where people can input their chosen city and view the weather forecast
View Demo
·
Report Bug
·
Request Feature
Table of Contents
I designed and implemented a secure and responsive weather app using JavaScript, React, and a serverless Express JS backend on Netlify to protect API keys ensuring data security. To enhance the user experience, I utilized popular React hooks including useState, useEffect, and useContext. The app automatically fetches the user's location based on their IP address, displaying relevant weather information and a photo. I skillfully employed Tailwind CSS and the Daisy UI library to create visually appealing, sleek, and highly responsive components that elevate the overall user experience.
To get a local copy up and running follow these simple steps.
- npm
npm install npm@latest -g
-
Clone the repo
git clone [email protected]:sophiavf/Project-Weather-App.git
-
Install NPM packages
npm install
-
Run the development server to start a local demo of the project
npm run start
-
Distribution files can be produced using the command
npm run build
- Implement form validation with Javascript and autocompletion to reduce user errors in the city selection input element
- Enable users to select imperial or metric units
- Implement a dark / light theme toggle, and on initial load use the users system preferences
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request