Files
social-media/docs/TASKS/content/003-real-workspace-channels.md

35 lines
971 B
Markdown

# Task: Add real workspace channels
## Feature
`docs/FEATURES/channels.md`
## Goal
Replace frontend-derived fake channels with real workspace-owned channel records served by the backend API.
## Scope
- Add a backend `Channels` module with a `Channel` table.
- Add list and create endpoints for workspace channels.
- Seed development channels and align seeded content publication targets to those configured channel names.
- Update the frontend channels store to load and create channels through the API.
- Keep the Channels page UI shape intact.
## Relevant Files
- `backend/src/Socialize.Api/Data/AppDbContext.cs`
- `backend/src/Socialize.Api/Modules/Channels/`
- `backend/src/Socialize.Api/Infrastructure/Development/DevelopmentSeedExtensions.cs`
- `frontend/src/features/channels/stores/channelsStore.js`
- `docs/FEATURES/channels.md`
## Validation
```bash
dotnet build backend/Socialize.slnx
dotnet test backend/Socialize.slnx
cd frontend
npm run build
```