capstone-database is a database repository package for the TKR Computers e-commerce application. Current stable version is 1.0.125. It is released on npm and requires @prisma/client >=5 as a peer dependency. This package provides database access and business logic for a computer products online store. Key differentiators include integration with Prisma ORM and a focus on e-commerce features like product catalogs, cart management, and secure checkout. It is designed for use with Node.js and TypeScript.
npm install capstone-databaseVerified import paths — ran on the pinned version, not inferred.
Initializes Prisma client, imports the main database module, and fetches product list.
Update @prisma/client to version 5 or higher.
Replace calls to `getCart` with `fetchCart`.
Use the default import directly without the `new` keyword.
Run `npm install capstone-database` in your project directory.
Access methods on the imported object, e.g., `capstoneDatabase.getProducts()`.