ekafyi / hello-graphql-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless GraphQL Server on Netlify Functions, 3 Ways

Sample repo for my DEV.to post

Does what it says on the tin...

  • no-build — graphql server function without build step
  • with-build — graphql server function with netlify-lambda build
  • with-ts — graphql server function with netlify-lambda build + TypeScript

Quick Start

Deploy with Netlify

If deploying from this repo, make sure you set the base directory to the directory you want to use (eg. no-build). See: https://docs.netlify.com/configure-builds/get-started/#definitions

Else

Or you can clone this repo and start a Git repo manually/locally from the directory you want to use.

git clone https://github.com/ekafyi/hello-graphql-server.git

cd hello-graphql-server/no-build

npm install

git init

About

License:MIT License


Languages

Language:JavaScript 55.1%Language:TypeScript 44.9%