Closed ShivanshPlays closed 2 weeks ago
@ShivanshPlays is attempting to deploy a commit to the Piyush's projects Team on Vercel.
A member of the Team first needs to authorize it.
This data is generated by seeding my own database after running npx prisma db push
https://github.com/user-attachments/assets/7048909a-d254-487f-a37e-8f8e15dda43b
Screenshots
This data is generated by seeding my own database after running npx prisma db push Screen.Recording.2024-11-06.050318.mp4
@Ashish-kharde1 LOL
Seeding Database with Initial Listings
Overview
This seeding file,
seeding.ts
, is designed to populate the database with initial data. The file will create a dummy seller and six listings, with two listings for each category (Housing, For Sale, and Fooding). Images for each listing will be sourced from thepublic
folder, and linked to the created listings in the database.This seed data provides users with a quick way to see the platform in action, even if the database is initially empty.
Purpose of the Seeding File
When a user sets up the project for the first time, the database is usually empty, which makes it challenging to explore or test the application's features. Seeding the database with sample listings allows users to:
closes #471