Files
social-media/docs/TASKS/development/001-script-testdata-seed.md
Jonathan Bourdon 6e417312f9
All checks were successful
deploy-socialize / image (push) Successful in 53s
deploy-socialize / deploy (push) Successful in 21s
chore(backend): add explicit test data seed command
2026-05-07 13:43:53 -04:00

21 lines
580 B
Markdown

# Task: Add explicit test data seed script
## Goal
Move demo/test data seeding out of API startup and into an explicit script command that can be run intentionally against any configured environment.
## Relevant Files
- `backend/src/Socialize.Api/Program.cs`
- `backend/src/Socialize.Api/Infrastructure/TestData/TestDataSeedExtensions.cs`
- `backend/src/Socialize.Api/appsettings.Development.json`
- `backend/src/Socialize.Api/appsettings.Production.json`
- `scripts/seed-testdata.sh`
## Validation
```bash
dotnet build backend/Socialize.slnx
./scripts/seed-testdata.sh
```