Skip to content

Commit af21148

Browse files
committed
merge with documentation
2 parents d2069fd + f2aec3e commit af21148

8 files changed

Lines changed: 2259 additions & 24 deletions

File tree

.claude/skills/general-practices/backend-endpoints/SKILL.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
---
22
name: backend-endpoints
3-
description: >-
4-
Guide for creating backend API endpoints in FinishLine following the
5-
Route → Controller → Service pattern with multi-tenant security.
6-
Use when creating new endpoints, adding API routes, implementing
7-
controllers or services, building backend request handlers, or
8-
when asked how the backend works.
3+
description: Guide for creating backend API endpoints in FinishLine following the Route → Controller → Service pattern with multi-tenant security. Use when creating new endpoints, adding API routes, implementing controllers or services, building backend request handlers, or when asked how the backend works.
94
---
105

116
# Backend Endpoints
@@ -65,7 +60,7 @@ If a service throws an exception, it bubbles up through the controller's `next(e
6560

6661
| Layer | Path | Naming |
6762
| ------------- | ------------------------------------------------------ | --------------------------------------------- |
68-
| Entry point | `src/backend/index.ts` | |
63+
| Entry point | `src/backend/index.ts` | |
6964
| Routes | `src/backend/src/routes/{feature}.routes.ts` | `{feature}Router` |
7065
| Controllers | `src/backend/src/controllers/{feature}.controllers.ts` | `{Feature}Controller` class |
7166
| Services | `src/backend/src/services/{feature}.services.ts` | `{Feature}Service` class |

0 commit comments

Comments
 (0)