Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 563 Bytes

File metadata and controls

12 lines (10 loc) · 563 Bytes

Grafbook: Server sent events (SSE) x Apollo ⨯ React

Getting Started

  1. Run npx degit grafbase/grafbase/examples/react-apollo-live grafbase-with-react-apollo-live to clone this example
  2. Change directory into the new folder cd grafbase-with-react-apollo-live
  3. Run cp .env.example .env
  4. Run cp grafbase/.env.example grafbase/.env
  5. Run npm install, or yarn install to install dependencies
  6. Deploy your repo to GitHub and connect Grafbase to it
  7. Run npm run dev, or yarn dev
  8. Visit http://localhost:5173