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)
- Host: GitHub
- URL: https://github.com/josuablejeru/appsync-vtl-generator
- Owner: josuablejeru
- License: mit
- Created: 2021-08-12T20:04:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-28T10:14:24.000Z (over 4 years ago)
- Last Synced: 2024-12-20T07:01:26.925Z (over 1 year ago)
- Topics: amplify, appsync, appsync-graphql-api, appsync-resolvers, aws, graphql
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/appsync-vtl-generator
- Size: 180 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
appsync-vtl-generator
=====================
Generate VTL files (appsync resolvers) for DynamoDB from graphql schemas
[](https://oclif.io)
[](https://npmjs.org/package/appsync-vtl-generator)
[](https://npmjs.org/package/appsync-vtl-generator)
[](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
[](https://www.buymeacoffee.com/josuablejeru)
## 📝 License
Distributed under the MIT License. See LICENSE for more information.
## Acknowledgements
- https://github.com/aws-amplify/amplify-cli