Skip to content

malcodeman/weather-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather api

GitHub license code style: prettier

Keep in mind that GetLocation method won't work as expected when deployed because it will fetch the location of the server, not client.

This project serves as proxy server for Dark Sky API because they disable cors as a security precaution.

Table of Contents

Usage

.env file should look like this:

DARKSKY_API_KEY=123
IPSTACK_API_KEY=123
PORT=5000

without docker:

go run main.go

or with docker:

docker build -t <image-name> .
docker run -p 5000:5000 <image-name>

License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published