Skip to content

ArpadGBondor/The_App_Brewery-Back-end_project_02-Weather_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The App Brewery - Back-end project 02 - Weather API

Section 20: APIs - Application Programming Interfaces

A back-end program, that can forward the user's request to a weather API server, and return the answer to the user.

  • Node.js
  • HTML5

How to run: (from terminal)

Clone the repository:

git clone https://github.com/ArpadGBondor/The_App_Brewery-Back-end_project_02-Weather_API.git

Enter directory:

cd The_App_Brewery-Back-end_project_02-Weather_API/

Download the missing dependencies from npm:

npm install

Get your own API key (sry, I won't share mine... )

Register here: https://openweathermap.org/api

Create a file named '.env' and set this enviroment variable:

WEATHER_API_KEY=

Run program:

node app.js

Send get request from browser:

Open: http://localhost:3000

About

Node.js, HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published