An open API service indexing awesome lists of open source software.

https://github.com/sbussard/lambda-graphql-apex

A barebones graphql implementation using the apex framework.
https://github.com/sbussard/lambda-graphql-apex

apex apex-framework aws aws-lambda graphql

Last synced: 2 months ago
JSON representation

A barebones graphql implementation using the apex framework.

Awesome Lists containing this project

README

          

# lambda-graphql-apex

Install [Apex](http://apex.run) and configure your [AWS Credentials](http://apex.run/#aws-credentials) then follow the instructions below.

Install NPM dependencies:

```
$ npm install
```

Initialize the function role:
```
$ apex init
```

*This creates a folder at `./functions/hello`. You should delete it.*

Add extra options from `project.json_stub` to generated `project.json` to include the runtime, handler and hook options.

Deploy the functions:

```
$ apex deploy
```

Try it out:

```
$ apex invoke graphql-example < event.json
```

AWS Resources that will be created:
- IAM role
- IAM policy
- Lambda function