Skip to content

Web application to get weather details of different location

Notifications You must be signed in to change notification settings

tejaschauhan373/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

weather-app


Setup the Project

  1. Install NodeJS in your machine

  2. Install node modules

    $ cd weather-app\
    $ npm i
    
  3. set up config.json.

    • Set weather-stack-api-token in config.json after creating account on weatherstack.com
  4. Project structure

    1. Root

      ./

      ├── public template folder containing JS, CSS, HTML files

      ├── app.js main node app file with all routes

      ├── forecast.js file with function to perform api operations

      ├── package.json package manager file

      ├── package-lock.json package manager file

      ├── .gitignore list of files and folders to be ignored in git

      ├── README.md Instruction file

      ├── config.json configuration file


Run the Project

  • Go to project (weather-app) directory in terminal and run the command

    npm run start 
    

    // will run on localhost:3000

About

Web application to get weather details of different location

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published