21 lines
580 B
Markdown
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
|
|
```
|