1.8 KiB
1.8 KiB
Task: Align repository with bootstrap scaffold
Feature
docs/FEATURES/platform-scaffold.md
Goal
Move the current Socialize repository into the structure that bootstrap-vdp-agentic.sh would have generated, without replacing the existing product implementation.
Context
The script generates a simple .NET + Vue monorepo with:
- backend under
backend/src/<App>.Api - tests under
backend/tests/<App>.Tests - root scripts under
scripts/ - Docker Compose and Caddy deployment files
- OpenAPI sync into
shared/openapi - agentic docs under
docs/FEATURES,docs/TASKS,docs/PROMPTS, anddocs/DECISIONS
Socialize already has a larger FastEndpoints backend and Vue app. Preserve that implementation while adopting the scaffold.
Files Likely To Change
backend/Socialize.slnxbackend/src/Socialize.Api/**backend/tests/Socialize.Tests/**scripts/**deploy/caddy/Caddyfiledocker-compose.ymldocs/**README.mdAGENTS.md.github/workflows/backend-ci.ymlfrontend/package.jsonfrontend/scripts/fetch-openapi.mjsfrontend/src/api/schema.d.ts
Constraints
- Preserve existing product code.
- Do not convert the frontend to TypeScript in this task.
- Do not rewrite backend modules into minimal API folders in this task.
- Do not introduce new secrets.
Done When
- Backend implementation moved under
backend/src/Socialize.Api - Backend solution points at the new project path
- Test project scaffold exists
- Root scripts exist
- OpenAPI sync command exists
- Agentic docs/specs/tasks/prompts exist
- Backend build passes
- Frontend build passes
Validation Commands
dotnet build backend/Socialize.slnx
dotnet test backend/Socialize.slnx
cd frontend && npm run build