cloudflare-graphql-typescript

0.0.2 • Public • Published

cloudflare-graphql-typescript

GitHub Actions

cloudflare-graphql-typescript is a template for creating a GraphQL server with serverless Cloudflare workers, written in TypeScript. It uses the apollo-server-cloudflare library to create the server and the PokeAPI as a REST API source. It also uses Cloudflare KV to cache and store the data from requests.

A demo of the server is available here.

Table of Contents

Installation

git clone https://github.com/jeremynguyencs/cloudflare-graphql-typescript.git

cd cloudflare-graphql-typescript

yarn

Usage

# Run the server locally
yarn dev

# Lint and format code
yarn lint
yarn format

Deployment

# Dry run for deployment
yarn build

# Publish to Cloudflare workers
yarn publish

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i cloudflare-graphql-typescript

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

31.7 kB

Total Files

34

Last publish

Collaborators

  • thallesp