@veloxts/orm
v0.4.7
Published
Prisma wrapper with enhanced DX for VeloxTS framework
Maintainers
Readme
@veloxts/orm
Pre-Alpha Notice: This framework is in early development (v0.4.x). APIs are subject to change. Not recommended for production use.
What is this?
Prisma ORM integration package for the VeloxTS Framework, providing enhanced developer experience for database operations.
Part of @veloxts/velox
This package is part of the VeloxTS Framework. For the complete framework experience, install:
npm install @veloxts/veloxVisit @veloxts/velox for the complete framework documentation.
Standalone Installation
npm install @veloxts/orm @prisma/clientNote: @prisma/client is a peer dependency. You'll also need the prisma CLI as a dev dependency.
Documentation
For detailed documentation, usage examples, and API reference, see GUIDE.md.
Quick Example
import { veloxApp } from '@veloxts/core';
import { createDatabasePlugin } from '@veloxts/orm';
import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
const app = await veloxApp({ port: 3210 });
await app.register(createDatabasePlugin({ client: prisma }));
await app.start();Learn More
License
MIT
