Skip to content

jProgr/simple-weather-webpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple weather website

Write the name of a city, get the temperature currently there. Based on Build a Weather Website in 30 minutes with Node.js + Express + OpenWeather. Uses Node, Express, EJS and the OpenWeatherMap API.

Installation

Download the repository and install node modules:

npm install

This project uses OpenWeatherMap API. Define an enviroment variable with your API key as follows:

export API_KEY=myAPIKey

Start the server:

node server.js

Go to localhost:3000 write the name of a city and press "Get Weather" button.

Releases

No releases published

Packages

No packages published