Skip to content

Deployment of hydrogen js app to custom server #2484

Answered by blittle
Pankajmehta1998 asked this question in Help
Discussion options

You must be logged in to vote

There is an example of Hydrogen running on a custom express node server. It's provided as-is with the following caveats:

  1. It is super minimal. If you choose to deploy to a node server, you should not be using our CLI tools. Instead just use standard node tools. For example, see the startup scripts in the example.
  2. The app only uses an in-memory cache implementation. In production, you probably would want to use redis, memcached, or another cache implementation. Just make sure any custom cache implements the Cache interface.
  3. The app does not yet utilize storefrontRedirect. This will be added when Remix releases middleware.
  4. The app only includes a single index route. The starter template is …

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
14 replies
@graygilmore
Comment options

@Pankajmehta1998
Comment options

@Pankajmehta1998
Comment options

@graygilmore
Comment options

@Pankajmehta1998
Comment options

Comment options

You must be logged in to vote
1 reply
@Pankajmehta1998
Comment options

Answer selected by blittle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants