A Prisma database package for Atomic Trade, providing the database schema and client for the e-commerce platform. This package handles all database operations and relationships for the Atomic Trade ecosystem.
- 📦 Prisma schema and client for Atomic Trade
- 🔒 Type-safe database operations
- ⚡️ Optimized database queries
- 🔄 Database migrations management
- 📊 Comprehensive data models for e-commerce
- 🛠️ Development tools and utilities
# Using npm
npm install @atomic-trade/db
# Using yarn
yarn add @atomic-trade/db
# Using pnpm
pnpm add @atomic-trade/db
- Node.js >= 18.0.0
- PostgreSQL >= 14.0.0
-
DATABASE_URL
- The connection URL for your PostgreSQL database
# Install dependencies
pnpm install
# Generate Prisma client
pnpm prisma generate
# Run database migrations
pnpm prisma migrate dev
# Format code
pnpm format:write
# Lint code
pnpm lint
The package includes Prisma schema definitions for:
- Users and authentication
- Products and inventory
- Orders and transactions
- Payments and refunds
- And more...
This project is licensed under the terms of the license included in the repository.
Andrew Hunn