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

https://github.com/josuablejeru/appsync-vtl-generator

generates appsync resolvers (VTL)
https://github.com/josuablejeru/appsync-vtl-generator

amplify appsync appsync-graphql-api appsync-resolvers aws graphql

Last synced: 5 months ago
JSON representation

generates appsync resolvers (VTL)

Awesome Lists containing this project

README

          

appsync-vtl-generator
=====================

Generate VTL files (appsync resolvers) for DynamoDB from graphql schemas

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/appsync-vtl-generator.svg)](https://npmjs.org/package/appsync-vtl-generator)
[![Downloads/week](https://img.shields.io/npm/dw/appsync-vtl-generator.svg)](https://npmjs.org/package/appsync-vtl-generator)
[![License](https://img.shields.io/npm/l/appsync-vtl-generator.svg)](https://github.com/josuablejeru/appsync-vtl-generator/blob/master/package.json)

## Examples
Please visit my [Coffe Recipe Api](https://github.com/josuablejeru/coffee-recipe-api) to see how `appsync-vtl-generator` can be used in your project.

## Usage
```sh-session
$ npm install -g appsync-vtl-generator
$ appsync-vtl-generator [schema.graphql] [output dir]
$ appsync-vtl-generator (-v|--version|version)
appsync-vtl-generator/0.1.0 darwin-x64 node-v16.4.2
$ appsync-vtl-generator --help
USAGE
$ appsync-vtl-generator [schema.graphql] [output dir]
...
```

## Supported features:
[x] DynamoDB vtl mappers (keys, relationships)
[ ] auth rules with Cognito

## ✌️ Get in touch with me
Personal Website
Twitter
LinkedIn
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/josuablejeru)

## 📝 License

Distributed under the MIT License. See LICENSE for more information.

## Acknowledgements
- https://github.com/aws-amplify/amplify-cli