General
Database

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.

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:

Terminal
npx prisma studio

Make sure .env has a correct DATABASE_URL defined.