-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider turning this repository into a remix-stack
#70
Comments
Thoughts on SSL for developmentcreate-react-app support SSL for development and we have been using this as part of the lab-web-client, moving to There are some documented workarounds where we configure the The broader discussion here is what The aim of these
If we were to choose
There's also a follow up ticket for the cli tools to autogenerate the SSL certificates which would take away another function from our templates.
This approach would mean that the stack will depend on Netlify for all projects. While it's noted that The question remains as to how much we build upon what Netlify is doing or do we want to stay completely agnostic of providers?
|
i've started an effort to formalise the stack with the realisation of #70 this setsup configtest where the fastapi test client is created and it can get the root endpoint and validate that it returns a proper body, the effort will be to maintain a set of tests for everything the base framework manages we will need to ensure that eject #55 can rewrite the namespaces so other projects are able to keep working on the tests centric to their applicaiton
…se the stack with the realisation of #70\n\nthis setsup configtest where the fastapi test client is created and it can\nget the root endpoint and validate that it returns a proper body, the effort\nwill be to maintain a set of tests for everything the base framework manages\n\nwe will need to ensure that eject #55 can rewrite the namespaces so other\nprojects are able to keep working on the tests centric to their applicaiton
Adding the following achieves SSL and proxying the API to the container. [dev]
command = "remix watch"
port = 3000
[dev.https]
certFile = ".cert/cert.pem"
keyFile = ".cert/key.pem"
[[redirects]]
from = "/api/*"
to = "http://localhost:8000/:splat"
status = 200
headers = {X-From = "Netlify"} Once we decide where to store the remix applicaiton (in this repository or another), we can make a decision on if we run the netlify cli inside of a container (taking away the need to run a separate process in another window). We have to make a decision as to what a deployed version looks like specially on a fully managed version e.g on AWS. |
When I use the Initially I went down the rabbit hold where developers are talking about hydration issues caused by Eventually I ran the My hypothesis is that the |
Thought I would check on the @vercel if I can use their
|
Following on my discussion on the PR on the
does the trick and everything works. It's suggested at this point that we restart the stack with this template for |
Glad to see it's working @devraj! |
Hey @nickytonline, I am chasing my tail to figure the browser would loose the websocket connection for live reload when I am running
I am not seeing something that's defined in this issue here and have lost the ability to live reload when going the netlify server + https. If I hit the app at port The issue lodged on If you have any thoughts on this I would appreicate a comment. 🙏 My current efforts are in this repository. A thread on Stackoverflow suggests that this might be due to the TLS certificate not being recognised by the websocket server, which seems completely plausible as there's no configuration for that portion of it.
|
Please track the issue on @remix-run/remix LiveReload doesn't work when TLS is enabled for a discussion on this exact same pending issue on Websockets not working when TLS is enabled. See also: |
See this discussion which reveals that we have to import from the |
Is your feature request related to a problem? Please describe.
Remix stacks are meant to be a software stack that incorporate the Remix application into it. They are meant to provide a standardised way implementations of:
The above is the problem we are trying to solve for Anomaly via these labs.
Describe the solution you'd like
If this breaking change deems that Remix is the suitable production framework (since we already use react router) then we:
web-client
redundantremix-stack
with our preferred server side frameworksThis also fundamentally changes the way we are managing repositories for Anomaly projects, combining the server and client side workflows into the single repository.
There is possibly a use case where we archive the current lab repositories and the work that was done in them and create a separate repository for
psychedelic-stack
Describe alternatives you've considered
For as long as I have maintained this repository, I have been trying to standardise the client side and maintained a template here. There have been many changes to frameworks like NextJS and Remix since the introduction of React 18 (which had some fundamental improvement).
This lead to standardisation of production framework with unified set of features like routing, caching, header management, which would mean that we can give up tracking many individual projects and take a more wholistic approach.
This would be a breaking change and would mean that the client project be unified into this repository.
Additional context
remix
recommend you name your stacks after a musical sub-genre. Proposed name for the stack bepsychedelic-stack
wherep
presentspython
and the musical sub-genre honoursPink Floyd
.The text was updated successfully, but these errors were encountered: