Skip to content

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

License

Notifications You must be signed in to change notification settings

ryands17/prisma-appsync

 
 

Repository files navigation

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

📓 Documentation

Read the documentation to get started with Prisma-AppSync.

🎬 Getting started video

Getting started with Prisma-AppSync

🧙‍♂️ Contributors

maoosi
Sylvain (maoosi)

🤟 Sponsors

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.4%
  • Nunjucks 20.8%
  • Other 0.8%