DregondRahl / prisma-appsync

⚡ AppSync GraphQL API Generator for ◭ Prisma 2, the next-gen ORM.

Home Page:https://prisma-appsync.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prisma-AppSync

Prisma-AppSync · Generic badge Maintenance

Prisma-AppSync is a custom Generator for Prisma 2, that automatically generates a fully working AWS AppSync ⚡ GraphQL CRUD API.

⚠️ ⚠️ Prisma-AppSync is highly experimental and it is not recommended to use in Production at this stage. Breaking changes might be introduced at anytime between beta versions. Feedback, suggestions and PRs welcomed.

✨ Automatically generated

  • GraphQL Schema: Designed to work with AWS AppSync scalar types and directives.
  • Client: Prisma Client on steroids, that can handle CRUD operations out-of-the-box.
  • API Docs: Documentation for the GraphQL CRUD API (see example).

✔️ Features

  • AppSync CRUD API (get/list/create/update/delete/deleteMany).
  • Extensible TypeScript Class with support for hooks and custom resolvers.
  • Support for AppSync authorization modes, as well as fine-grained access control.
  • Real-time subscriptions (onCreated/onUpdated/onDeleted).
  • Exposes Prisma relation queries (create/connect/connectOrCreate/update/upsert/delete/disconnect/set/updateMany/deleteMany).
  • Full CloudWatch logs for easy debugging on AWS.
  • XSS data sanitization by default.

⚓ Compatibility

  • Prisma 2.21.2

📓 Documentation

Read the documentation to get started with Prisma-AppSync.

🎬 Getting started video

Getting started with Prisma-AppSync

🧙‍♂️ Contributors

Owner/Maintainer

🤟 Sponsors

travistravis.co
Travis
Travis makes travel planning visual, social and collaborative.

About

⚡ AppSync GraphQL API Generator for ◭ Prisma 2, the next-gen ORM.

https://prisma-appsync.vercel.app

License:BSD 2-Clause "Simplified" License


Languages

Language:TypeScript 75.7%Language:Nunjucks 19.8%Language:JavaScript 4.0%Language:Shell 0.5%