DEV Community

Discussion on: How to Make a Weather App using JavaScript

Collapse
 
orsifrancesco profile image
Francesco Orsi

I really like this project :) but I would never share my API KEY..

one of the simplest way to avoid it.. should be creating a server side page (nodejs.. PHP..) with a CURL to openweather.org + API blocking all the requests other than your domain

Collapse
 
shantanu_jana profile image
Shantanu Jana

Yes you are right. From now on I will try not to provide API KEY.
Thanks for liking the project 😍