Skip to content

lordofthecactus/hydrogen-v2-vercel-serverless

Repository files navigation

[WIP] Vercel serverless deployment for Hydrogen v2 hello world on Remix.

[Note] Not to be confused with edge functions and workers.

Steps to deploy:

  1. Install vercel CLI
  2. vercel inside the repo

Hydrogen template: Hello World

Hydrogen is Shopify’s stack for headless commerce. Hydrogen is designed to dovetail with Remix, Shopify’s full stack web framework. This template contains a minimal setup of components, queries and tooling to get started with Hydrogen.

Check out Hydrogen docs Get familiar with Remix

What's included

  • Remix
  • Hydrogen
  • Oxygen
  • Shopify CLI
  • ESLint
  • Prettier
  • GraphQL generator
  • TypeScript and JavaScript flavors
  • Minimal setup of components and routes

Getting started

Requirements:

  • Node.js version 16.14.0 or higher
npm create @shopify/hydrogen@latest --template hello-world

Remember to update .env with your shop's domain and Storefront API token!

Building for production

npm run build

Local development

npm run dev

About

Hydrogen v2 on vercel serverless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published