UNPKG

@algochad/prisma-core

Version:

A comprehensive NestJS library that provides EF-Core-like operations using Prisma and GraphQL. Features LINQ-style query builders, advanced data manipulation, GraphQL integration with genql, and a unified API for both Prisma and GraphQL operations. Includ

38 lines (24 loc) 787 B
# Installation Guide ## 📦 Installation ### Prerequisites Ensure you have the following peer dependencies in your project: - `@nestjs/common` (versions: `^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0`) - `@prisma/client` (version: `^4.0.0 || ^5.0.0`) ### Install the Library ```bash # Install the main library npm install @algochad/prisma-core # Install peer dependencies if not already installed npm install @nestjs/common @prisma/client ``` ### Setup Prisma (if not already configured) ```bash # Initialize Prisma in your project npx prisma init # Generate Prisma client after defining your schema npx prisma generate # Run migrations npx prisma migrate dev ``` ## Next Steps After installation, proceed to the [Quick Setup Guide](./quick-setup.md) to configure your project.