Skip to content

An App that helps you find information & current weather of any country. The APIs used where from https://restcountries.eu/ and weatherstack.com.

Notifications You must be signed in to change notification settings

Mubi417/countries-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Kindly Note

Once you clone or download this app, run npm install in the command line directory to download all dependencies.

Also, this app uses an environment variable. Read more about environment variables here. This environment variable is used to store the weather API key. You can get yours by signing up at https://weatherstack.com/.

The name of the environment variable is (REACT_APP_API_KEY). Assuming your key is t0p53cr3t4p1k3yv4lu3, you can set it by creating a .env file in the app directory and declare the variable in it. For example: REACT_APP_API_KEY = t0p53cr3t4p1k3yv4lu3.

Or you can temporarily declare it at runtime (when starting the app):

REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 npm start // For Linux/macOS
Bash($env:REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3) -and (npm start) // For Windows PowerShell
set REACT_APP_API_KEY=t0p53cr3t4p1k3yv4lu3 && npm start // For Windows cmd.exe

The APIs used where from https://restcountries.eu/ and https://weatherstack.com/.

Enjoy, Explore & Analyze. Have Fun!!

About

An App that helps you find information & current weather of any country. The APIs used where from https://restcountries.eu/ and weatherstack.com.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages