Skip to content

Basic weather app to find the weather condition on different places on Earth🌎

Notifications You must be signed in to change notification settings

vijayv18/WeatherApp-nodejs-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App Project

Made using ExpressJs and OpenWeatherMap API.

Clone the project

  git clone https://github.com/vijayv18/WeatherApp-nodejs-api.git

Go to the project directory

  cd WeatherApp-nodejs-api

Installation of dependencies

Install "WeatherApp-nodejs-api" with npm

  cd WeatherApp-nodejs-api
  npm install 

This will install all the required dependencies for the project to run,

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

APP_KEY- can be obtained by visiting OpenWeatherMap website and creating your own API KEY. Check this out - https://openweathermap.org/api

PORT- 3000

Create a .env file on the root directory and add

APP_KEY= Paste the created API key here

PORT=3000

Run the project

To run tests, run the following command

  node app.js

And go to localhost:3000 on your browser to check if the project is working.

About

Basic weather app to find the weather condition on different places on Earth🌎

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published