This project was bootstrapped with Create React App and Weather-API.
You can view the website by clicking this link
Note: Remember that because I use a free account in Render.com. so it will spin down with inactivity. If you can not see it, I don't activate the web yet. Sorry for this inconvenience.
In the project directory, you can run:
REACT_APP_API_KEY=d42ca43e65ce95a9f17267db2d17458f npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
- If there are too many (over 10) countries that match the query, then the user is prompted to make their query more specific:
- If there are ten or fewer countries, but more than one, then all countries matching the query are shown:
- There is a button next to the name of the country, which when pressed shows the view for that country:
- When there is only one country matching the query, then the basic data of the country (eg. capital and area), its flag and the languages spoken as well as weather are shown: