Prisma 模板集合 💡

DemoDescription
scriptSimple usage of Prisma client in script
graphqlSimple GraphQL server based on graphql-yoga
graphql-apollo-serverSimple GraphQL server based on apollo-server
graphql-crudGraphQL server with full CRUD API
graphql-authGraphQL server with email-password authentication & permissions
graphql-subscriptionsGraphQL server with realtime subscriptions
rest-expressSimple REST API with Express.JS
grpcSimple gRPC API
docker-mongodbSet up Prisma locally with MongoDB
docker-mysqlSet up Prisma locally with MySQL
docker-postgresSet up Prisma locally with PostgreSQL
cli-appSimple CLI TODO list app
DemoDescription
scriptSimple usage of Prisma client in script
graphqlSimple GraphQL server
graphql-authGraphQL server with email-password authentication & permissions
graphql-subscriptionsGraphQL server with realtime subscriptions
rest-expressSimple REST API with Express.JS
grpcSimple gRPC API
docker-mongodbSet up Prisma locally with MongoDB
docker-mysqlSet up Prisma locally with MySQL
docker-postgresSet up Prisma locally with PostgreSQL
cli-appSimple CLI TODO list app
DemoDescription
cli-appSimple CLI TODO list app
graphqlSimple GraphQL server
http-muxSimple REST API with gorilla/mux
rest-ginSimple REST API with Gin
scriptSimple usage of Prisma client in script
DemoDescription
graphqlSimple GraphQL server
scriptSimple usage of Prisma client in script

这里是一个仿 AirBnb 后端的例子 AirBnB clone example 我们写了一个包含 Prisma 全部用例的项目.

下一节 Prisma 从已有数据库导出 datamodel

prisma introspection