Database Setup .
By default, Evines is optimized for **PostgreSQL** with Prisma. However, the kit is provider-agnostic, meaning you can easily switch to MySQL, SQLite, or MongoDB.
Official Prisma + Next.js GuideInitialize Prisma
Run the initialization command. You will be prompted to log in to Prisma, select a server region, and name your project.
After the command finishes, specific instructions and your **Database URL** will appear in your terminal. Copy this URL immediately.
Configure .env.local
Paste your Database URL into your .env file.
DATABASE_URL="postgres://user:password@host:port/dbname?sslmode=require"
Double-check your URL. If you are using a cloud provider like Neon or Supabase, omitting ?sslmode=require will likely cause connection timeouts.
Sync & Generate
Once your URL is set, push the schema to your database and generate the Prisma Client.
Push schema to DB
Generate local types
Visualize your data
Run Prisma Studio to open a visual editor in your browser and manage your records effortlessly.
npx prisma studio