Deploy TS GraphQL API on Netlify Functions?

Hi @ekafyi

This dist directory is that you will publish. Note that you cannot run a server on Netlify (the documentation you linked to mentions running the backend on Heroku or other such service.)

Documentation for netlify.toml available here. In its simplest form you might only specify a build command and publish directory

# e.g
[build]
  command = "npm run build"
  publish = "dist"

If you are working with functions that aren’t in netlify/functions (default location) you will need to specify this location

# e.g
[build]
  command = "npm run build"
  functions = "lambda"
  publish = "dist"