Comments (8)
This is rad, @NickFoden. Thank you for the example! I went ahead and added the $PORT
env var to the Express starter repo already.
Was there something about the file-based route conventions that didn't work with your setup? Or did you just prefer to use config.routes
in your remix.config.js
?
from remix.
Hey @NickFoden I know it's been a while, but I'd love to get this in our examples directory. Have you tried running with more recent versions by chance?
from remix.
@chaance as expected this is way simpler today and confirmed works great when selecting the Remix App Server
I may try again with express. But at moment this is very cool news.
NickFoden/remix-app-server-gae#1
- see the
Notes.md
file, I will clean up with proper bullets and formatting with thegcloud
cli commands and push a commit after do some things today.
Deployed here:
- https://remix-app-server.ue.r.appspot.com/
- routing working well and hitting a 3rd party api via a
fetch
in the loader etc
from remix.
@NickFoden It would be awesome to have a PR that adds an example to our repo.
from remix.
@NickFoden It would be awesome to have a PR that adds an example to our repo.
Sure thing. Will add this week. Have few urgent items first.
from remix.
Yeah exactly right @mjackson I went through the docs example with team & gist route etc, and worked great locally. When I deployed on app engine and I clicked Links to go to team would just spin and spin. In the console I could see the request "pending" for minutes and tab showing spinning until I cancelled. Hitting it directly mydomain.com/teams
was also a no go with that setup. I was looking into the app engine handlers you can configure in app.yaml and tried few ways with static dir etc, but couldn't sort it. I usually deploy API's on app engine, so I am thinking another dev will have the experience to make quick work of this speedbump. I'll keep poking around and see if I can sort this.
handlers:
- url: /
static_dir: build
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
from remix.
@chaance I have not, but have been meaning to update a project. Will circle back here in near future after doing a deployment and see what is required. I think it's going to be much simpler today.
from remix.
Closing the issue but feel free to add a comment here when/if you're able to get the PR in!
from remix.
Related Issues (20)
- Erronous import of identically named files HOT 3
- Single Fetch: useFetcher without generics arg triggers TS error `instantiation is excessively deep...` HOT 1
- Deployment to Vercel causes a build panic when using manual route configuration HOT 2
- Vite HMR: Vanilla Extract styles are lost after rendering an error boundary
- Scrolls the page down only if the current scroll position is 0
- Issues with npx create-remix@latest on Safari
- request.signal is never fired in dev server
- Streaming break when load async zone.js HOT 2
- docs - createCookieSessionStorage says commitSession not needed HOT 3
- Error Boundary <Links> conflicting with Root <Links> HOT 1
- Error: No route matches URL "/cart.json" HOT 2
- Inconsistent bundling of css assets between builds (Vite, Stylex) HOT 1
- Single Fetch: returning `null` from resource route loader leads to error HOT 2
- Loader Redirects are inconsistent between Dev / Prod HOT 2
- Single Fetch: Using two equal promises from loader data fails HOT 1
- Single fetch: Throwing a response stub with a 4xx status causes a turbo-stream error HOT 1
- Vite + Express: Error: No route matches URL HOT 4
- Getting error when running `npx create-remix@latest` HOT 3
- Single Fetch: `Headers.GetSetCookie` is not a function HOT 1
- Warning: React.createElement: type is invalid
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 remix.