This is a simple website to Get Current Time in Different Locations; including Current Temperature, Sunrise, and Sunset. Current Time can be displayed with Analogue/Digital Clock and also the difference between your local time and the city you are searching for.
Also, a search bar was added in order to allow the user to search for specific city on Openweathermap DB. This project was created with React hooks, and using Weather API - OpenWeatherMap for fetching user's requirment and get it's corresponding data.
Note that this API is detecting User's location in order to get the corresponding data. So Blocking Location Access won't allow the application work correctly and therefore it will not work.
- React
- CSS
- HTML 5
Project is created with:
- react version: 17.0
- react-router-dom version: 5.2
- react-dom version: 17.0
- axios version: 0.24
- dotenv version: 10.0
To run this project, install it locally using npm:
$ cd ../a-que-hora
$ npm install
$ npm start
Then Navigate to localhost:3000 to view the app
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Note that all Pull requests are welcome
Note that due to Netlify security protection, This application will not work correctly until you force the website to allow insecure content. This can be done by:
site-settings > Insecure content > Allow