prisma-appsync icon indicating copy to clipboard operation
prisma-appsync copied to clipboard

⚡ Turns your ◭ Prisma Schema into a fully-featured GraphQL API, tailored for AWS AppSync.

Prisma-AppSync

Prisma-AppSync · Generic badge Maintenance

Prisma-AppSync is a Prisma Generator, that automatically converts your Schema into a full-blown ⚡ GraphQL API for AWS AppSync.

⚠️ ⚠️ Prisma-AppSync is NOT ready for Production and is only recommended to use for prototyping until a stable version is released. Breaking changes might be introduced at anytime during the beta. 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 / upsert / delete / createMany / updateMany / 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.25.0

📓 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.