Rename API contracts to web routes for clarity
Changed terminology from "API" to "Routes" to better reflect server-rendered HTML approach: - Renamed submission_api.md → submission_routes.md - Renamed dashboard_api.md → dashboard_routes.md - Renamed admin_api.md → admin_routes.md - Updated headers to clarify "Response Type: Server-rendered HTML (no JavaScript required)" - Updated references in plan.md and quickstart.md This clarifies that the application uses traditional web routes with form submissions and HTML responses, not REST API endpoints with JSON. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -1,7 +1,8 @@
|
||||
# Admin API Contract
|
||||
# Admin Routes Contract
|
||||
|
||||
**Scope**: Product and user management endpoints (User Story P4)
|
||||
**Scope**: Product and user management web routes (User Story P4)
|
||||
**Authentication**: Required (admin role only)
|
||||
**Response Type**: Server-rendered HTML (no JavaScript required)
|
||||
|
||||
---
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
# Dashboard API Contract
|
||||
# Dashboard Routes Contract
|
||||
|
||||
**Scope**: Product owner dashboard endpoints (User Story P3)
|
||||
**Scope**: Product owner dashboard web routes (User Story P3)
|
||||
**Authentication**: Required (session-based via Flask-Login)
|
||||
**Response Type**: Server-rendered HTML (no JavaScript required)
|
||||
|
||||
---
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
# Submission API Contract
|
||||
# Submission Routes Contract
|
||||
|
||||
**Scope**: Anonymous feedback submission endpoints (User Story P1)
|
||||
**Scope**: Anonymous feedback submission web routes (User Story P1)
|
||||
**Authentication**: None (anonymous access)
|
||||
**Response Type**: Server-rendered HTML (no JavaScript required)
|
||||
|
||||
---
|
||||
|
||||
@@ -177,7 +177,7 @@ Data model and API contracts support independent implementation of P1→P2→P3
|
||||
Generated artifacts:
|
||||
- ✅ research.md (7 decision records)
|
||||
- ✅ data-model.md (6 entities fully specified)
|
||||
- ✅ contracts/ (3 API contract documents: submission, dashboard, admin)
|
||||
- ✅ contracts/ (3 web route contracts: submission, dashboard, admin)
|
||||
- ✅ quickstart.md (developer onboarding guide)
|
||||
- ✅ CLAUDE.md (agent context updated)
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@ pytest --cov=app --cov-report=html
|
||||
|
||||
---
|
||||
|
||||
## API Endpoints Reference
|
||||
## Web Routes Reference
|
||||
|
||||
### Anonymous Submission
|
||||
- `GET /submit/{product_slug}` - Submission form
|
||||
|
||||
Reference in New Issue
Block a user