package
0.0.0-20191020074145-b07ea140b6dd
Repository: https://github.com/yunspace/serverless-golang.git
Documentation: pkg.go.dev

# README

Serverless AWS Golang Graphql

Serverless AWS Go Graphql example using:

Usage

Setup and deploy a new project called your-app:

cd $GOPATH/src/your-path
serverless install -u https://github.com/yunspace/serverless-golang/tree/master/examples/aws-golang-graphql -n your-app
cd your-app
make DOTENV=.env.example dotenv
  • fill in and correct any of the variables in .env
  • replace WORKDIR in .env with /go/src/your-path/your-app
make test build deploy

query your app with graphiql by installing graphiql app and entering the provided gateway endpoint.

{
    hello
}

should return

{
  "data": {
    "hello": "serverless-golang graphql"
  }
} 
make remove

# Functions

No description provided by the author

# Variables

Handler is the exported handler called by AWS Lambda.
No description provided by the author

# Structs

No description provided by the author