Comments (6)
Yeah I figured that is probably pretty complicated to implement but something I have really enjoyed in Firebase and Heroku.
from nhost.
@jmarbutt Thank you! preview environments
are in our roadmap. We are now rebuilding our infrastructure so this will have to wait until that is finished.
from nhost.
Hi guys,
Talking about the preview environment and how it could be difficult to pass an environment variable to Vercel or Netlify, I was looking into an article about building an HTTPS-intercepting javascript proxy and though this could be something worth exploring.
Now, my backed knowledge is very limited so what I might be suggesting doesn't make sense at all :)
So what if, instead of passing an environment variable to Vercel or Netlify, instead you have an HTTPS-intercepting proxy on Nhost that whenever you create a PR it would intercept the traffic and route it to the preview environment. I know that whenever we create a PR Vercel generates a URL for this PR, maybe somehow grab this URL and redirect traffic to the preview environment from this URL.
By doing so, you wouldn't need to worry about the different front-end hosting providers.
Does any of it makes any sense?
from nhost.
@alveshelio thank you for your suggestion. We will consider it when building the feature. I didn't know about HTTPS-intercepting proxy until now.
from nhost.
For anyone looking at this issue, one way to circumvent it ( until we have preview environments) is by creating a new application, connecting it to the same GitHub repository and editing the branch to the one from the PR.
from nhost.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from nhost.
Related Issues (20)
- dashboard: e2e tests for Run and AI pages
- Error in signup/email-password HOT 2
- Never received any otp code, response is null on session and error
- Nhost (Next) JWT Token expire and apollo/nhostNext js client stops working HOT 19
- Can't Access Auth Endpoint HOT 1
- Change metadata for user in dashboard HOT 2
- evaluate project templates
- add "headers" option to missing methods in the js sdk
- error in openapi3filter.RequestError: refresh token is missing HOT 3
- react-apollo example e2e tests backend fails to start because of dummy secrets
- NextJS Server Components and Subscriptions Example HOT 9
- Does self hosted solution work? HOT 5
- Permission Denied for Adding New Public Table HOT 11
- improvements to error toast
- dashboard: toml editor
- create templates for all the supported frameworks
- getHasuraClaims Incorrect State
- ai service settings page fails to validate postgres 14.11 version
- update example protecting the links sent via email to require pushing a button or similar
- Nhost Xstate infinite loop in NextJS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhost.