Overview
Learn how to interact with the database in the starter kit.
The database serves as the backbone for storing data, handling queries and making sure users get what they need fast.
Prisma
The starter kit uses Prisma as its data access solution.
Why choose Prisma? Prisma is the most popular TypeScript ORM, providing excellent developer experience, type safety, and a powerful query API. It's battle-tested and widely adopted in the industry.
Client
Schema
Migrations
Studio
Database driver
The project uses PostgreSQL as the default database provider, ensuring seamless integration. Prisma also supports MySQL, SQLite, SQL Server, and MongoDB.
For a comprehensive list of supported database drivers, visit Prisma's Documentation.
Prisma Studio
Prisma's visual database editor allows you to view and edit your database records. You can open it with:
npx prisma studioMake sure .env has a correct DATABASE_URL defined.