Skip to content

IronyMan05/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App Installation Guide

Follow these steps to set up and run the Weather App on your local machine:

  1. Install Node.js and npm:

  2. Create a New Project Directory:

    mkdir weather-app
    cd weather-app
  3. Initialize a Node.js Project:

    npm init -y
  4. Install Dependencies:

    npm install express express-handlebars request
  5. Create Project Files:

    touch app.js weatherData.js public/index.html public/css/styles.css views/index.hbs
  6. Set Up Directory Structure:

    mkdir public views public/css
  7. Add Project Code:

    • Copy and paste the code for app.js, weatherData.js, index.hbs, and styles.css into their respective files.
  8. Replace API Key (if applicable):

    • If your project uses APIs that require an API key, replace the placeholder API key in your code with your actual API key.
  9. Start the Server:

    node app.js
  10. Access Your Application:

    • Open your web browser and navigate to http://localhost:3000 or the port specified in your app.js file to access your weather application.

These steps will guide you through the setup process for running the Weather App locally. Adjust any file paths or configurations based on your project's structure and requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published