Prisma and Nextjs Tutorial - Automatically Seed Your PlanetScale Database

Опубликовано: 17 Октябрь 2024
на канале: PlanetScale
9,042
145

Don't waste time manually creating data for testing your application! By setting up a seed script, you can automatically populate your database with a consistent set of data. In this video, we'll use Prisma inside of a Next.js project to populate a PlanetScale database with Product and Category Data.

Source Code - https://github.com/planetscale/nextjs...
Nextjs Starter Documentation - https://docs.planetscale.com/tutorial...


📚 Learn more about PlanetScale
• Website: https://planetscale.com/
• Docs: https://docs.planetscale.com/

——————————————————

💬 Follow PlanetScale on social media
• Twitter:   / planetscale  
• TikTok:   / planetscale  
• Twitch:   / planetscale  
• LinkedIn:   / planetscale