Skip to content

kimyvgy/worker-apollo-server-template

Repository files navigation

👷 worker-apollo-server-template Quick start

A template for kick starting a Cloudflare Workers project to deploy Apollo Server v4.

Live demo: https://worker-apollo-server.phelab.workers.dev

Features

Usage

  • Click on the button Use this template
  • Install npm dependencies:
npm install
  • Start app in the dev mode:
npm run dev
  • If you edit the GraphQL schema in src/schema.ts file, you must re-generate the type definitions with the following command:
npm run generate
  • Run tests:
npm run test