Skip to content
/ weather-app Public template

Weather app to display current weather data via the OpenWeatherMap API.

License

Notifications You must be signed in to change notification settings

rodrigo-bravo/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Weather app in Node.js that displays current weather data from any city using the OpenWeatherMap API.


  • Node.js
  • Embedded JavaScript templates
  • Express
  • JavaScript

Requirements

node v16.1.x

Getting Started

Install all web app dependencies

cd weather
npm install body-parser dotenv ejs express request

Generate API Key

Navigate to https://openweathermap.org/ and create an account/sign in. Once logged in, generate an API key to access the public weather data. Create an .env file and include the following:

API_KEY = (API KEY HERE)

Running the Project

Navigate to the weather directory and run main.js. This can be paired with the nodemon tool via npm install nodemon to easily start the project with the command

npm start

Contact Info

rodrigoebravo@outlook.com

About

Weather app to display current weather data via the OpenWeatherMap API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published