Skip to content

feat(seed): add local database seeding script

Kushal Lagichetty requested to merge feat/seed-script into develop

Title (semantic)

feat(seed): add local database seeding script

Description

This merge request implements a new feature.

It adds a local database seeding workflow for the backend with a small deterministic dataset intended for development and manual testing.

Included in this MR:

  • a new seed script to create 1 fake user
  • seeded sample records linked to that user
  • category linkage using existing seeded categories
  • points event creation for seeded records
  • basic record history/version seeding for one record
  • --clear support to remove and reseed the script-owned dataset
  • README documentation for local and Docker-based usage

Checklist

  • The feature has been fully implemented.
  • Tests for the new feature are included and passing.
  • User documentation/guides have been updated (if applicable).
  • Impact on existing functionality has been considered.

Related Issue(s)

Closes #115 (closed)

Merge request reports

Loading