Skip to content

bpb2008/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

WeatherApp

Here is a weather app created with React and Vite! Inspired by this assignment. This app will provide the current temperature and other basic weather information for any city in the world.

How to run this project locally:

  1. Clone the project.

  2. Install dependencies by running npm install.

  3. Create a .env file in the server folder and provide a Open Weather Map API key, found here.

  4. In .env, add your Open Weather Map API key in this format: API_KEY=xxx.

  5. In the client folder, create a .env.localfile. In .env.local, add your local URL in this format: VITE_BASE_API_URL=http://localhost:8080.

  6. cd to both client and server folders (I recommend using a split screen in your terminal or opening two shell windows) and run npm run dev to start the server and launch the front end in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors