🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@atomic-trade/db

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomic-trade/db

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.

0.0.13
latest
npm
Version published
Weekly downloads
23
-87.77%
Maintainers
1
Weekly downloads
 
Created
Source

@atomic-trade/db

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.

Features

  • 📦 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

Installation

# Using npm
npm install @atomic-trade/db

# Using yarn
yarn add @atomic-trade/db

# Using pnpm
pnpm add @atomic-trade/db

Requirements

  • Node.js >= 18.0.0
  • PostgreSQL >= 14.0.0

Environment Variables

  • DATABASE_URL - The connection URL for your PostgreSQL database

Development

# 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

Database Schema

The package includes Prisma schema definitions for:

  • Users and authentication
  • Products and inventory
  • Orders and transactions
  • Payments and refunds
  • And more...

License

This project is licensed under the terms of the license included in the repository.

Author

Andrew Hunn

FAQs

Package last updated on 19 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts