Skip to content

lowisren/hygraph-movie-starter

Repository files navigation

Hygraphlix movie streaming platform starter

This project is a starter template for Hygraph. It combines content from Hygraph, Federate This Demo API, OMDB, Mux, Next.js 14, NextUI, and Tailwind CSS

Clone Hygraph project

Clone movie project

Installation methods

Option 1: One-click Deployment

Deploy to Netlify

Deploy to Netlify

Deploy to Vercel

Deploy with Vercel

Option 2: Manual clone

  1. Clone this repo: npx degit https://github.com/lowisren/hygraph-movie-starter/
  2. Navigate to the directory and run npm install
  3. Run npm run dev
  4. Manually connect Netlify(using the netlify.toml template) when ready to deploy

Running the project

The project needs a Hygraph content API endpoint with matching content and schema. Add the endpoint to .env.local as HYGRAPH_ENDPOINT

  1. Copy the .env.sample file, add your endpoint and save as .env.local in the main project directory
  2. Run npm run dev

Connecting Mux

  1. Create a Mux account or Log into an existing account: https://dashboard.mux.com/signup
  2. Install the Mux app in your Hygraph project: https://app.hygraph.com/apps/mux/new
  3. Create access tokens, follow docs: https://hygraph.com/docs/integrations/connect-mux