init repo
This commit is contained in:
17
.cursor/rules/api-structure.mdc
Normal file
17
.cursor/rules/api-structure.mdc
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
description:
|
||||
globs:
|
||||
alwaysApply: false
|
||||
---
|
||||
# API Structure
|
||||
|
||||
The API follows a versioned structure under the path prefix `/doc_ai/v1/`.
|
||||
|
||||
- [api/router.go](mdc:api/router.go): Main router setup that connects all API endpoints
|
||||
- API endpoints are organized by domain:
|
||||
- Formula: [api/v1/formula/](mdc:api/v1/formula)
|
||||
- OSS (Object Storage): [api/v1/oss/](mdc:api/v1/oss)
|
||||
- Task: [api/v1/task/](mdc:api/v1/task)
|
||||
- User: [api/v1/user/](mdc:api/v1/user)
|
||||
|
||||
Each domain has its own router setup and controller implementation.
|
||||
Reference in New Issue
Block a user