Sample repo for my DEV.to post
Does what it says on the tin...
no-build
— graphql server function without build stepwith-build
— graphql server function with netlify-lambda buildwith-ts
— graphql server function with netlify-lambda build + TypeScript
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
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