Skip to content

The official example of Google Cloud Function that proxies requests to Tomorrow.io - keeping your keys safe.

License

Notifications You must be signed in to change notification settings

Tomorrow-IO-API/tomorrow-api-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Proxy

Cloud Proxy Function to Tomorrow.io API

Safeguard API keys used in client-side demos by proxying request through a cloud function.

What's Included

A single, simple google cloud function to proxy the Tomorrow.io API using express and http-proxy-middleware, thereby keeping the api key safe.

Usage

Download the GCP SDK and run yarn deploy to push it to the current project, then make sure to add your TOMORROW_KEY as an environment variable.

Contributors

This project is inspired by the GCP Proxy Func repo.

License

Licensed under the MIT License.

About

The official example of Google Cloud Function that proxies requests to Tomorrow.io - keeping your keys safe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published