feat: initialize inventory management application with Prisma schema, QR scanning, and UI components

This commit is contained in:
2026-04-05 14:27:36 -04:00
parent 6663856ffb
commit 9b746388fd
16 changed files with 2698 additions and 121 deletions

24
prisma/schema.prisma Normal file
View File

@ -0,0 +1,24 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Get a free hosted Postgres database in seconds: `npx create-db`
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
}
model InventoryItem {
id String @id @default(uuid())
qrCodeId String @unique
name String
quantity Int @default(0)
price Float @default(0.0)
category String?
description String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}