Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Seeding Database with Initial Listings #471

Closed
5 tasks done
ShivanshPlays opened this issue Nov 5, 2024 · 0 comments · Fixed by #472
Closed
5 tasks done

[Feat] Seeding Database with Initial Listings #471

ShivanshPlays opened this issue Nov 5, 2024 · 0 comments · Fixed by #472
Assignees
Labels
enhancement New feature or request gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level2 GirlScript Summer of Code Level 2 Issue

Comments

@ShivanshPlays
Copy link
Contributor

Description

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 the public 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:

  • Quickly interact with and test various features of the application.
  • See how data is structured and displayed on different pages.
  • Experience the user flow without needing to manually add initial data.

Screenshots

No response

Checklist

  • I have checked the existing issues
  • I have read the Contributing Guidelines
  • I'm a GSSoC'24-Extd contributor
  • I'm a Hacktoberfest'24 contributor
  • I am willing to work on this issue (optional)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level2 GirlScript Summer of Code Level 2 Issue
Projects
None yet
2 participants