Coder Social home page Coder Social logo

joshuatz / gcp-proxy-func Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 11.0 8 KB

Google Cloud Function to proxy requests to host specified in config file

License: MIT License

JavaScript 100.00%
google-cloud-functions google-cloud-platform http-proxy-middleware reverse-proxy

gcp-proxy-func's Introduction

Animated contrib graph showing 'Hello!' text

About Me

My name is Joshua Tzucker (he, him), and I am a self-taught full-stack developer, with a variety of interests and experiences; I enjoy learning about anything and everything!

You will often find me working on, or writing about:

  • Web dev
  • Tools (I love building things that help people)
  • Technical documentation
  • Business, Digital Marketing, etc.

Other places you can find me:

Place ย  Link
My Website ๐Ÿ”— joshuatz.com
My Docs ๐Ÿ“„ docs.joshuatz.com
LinkedIn ๐Ÿ’ผ linkedin.com/in/joshuatzucker
Twitter @1joshuatz
Dev ๐Ÿ‘จโ€๐Ÿ’ป dev.to/joshuatz

gcp-proxy-func's People

Contributors

joshuatz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gcp-proxy-func's Issues

Question: Working with Google Cloud Storage

Hello, I am trying to access files (html, js, css) located in Google Cloud Storage from my website.

The thing is that the browser does not allow an <iframe> to execute code hosted on another domain, for security reasons.

So I thought about accessing this same files, but behind a reverse proxy, so it seems that a cloud function may do the job.
I also use Firebase Hosting, so I can rewrite the desired route to the function.

I am new to Cloud Functions, so my question is: Given that the bucket may be private (they are by default), do you know if this cloud function will still be capable of reaching the resources?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.