Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 774 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 774 Bytes

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.