mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
parent
10de50416b
commit
6f9da5f7df
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ Contains the logic for each route, including calling the appropriate service fun
|
||||||
- Create a separate controller file for each route to handle the request/response logic.
|
- Create a separate controller file for each route to handle the request/response logic.
|
||||||
- Name controller files using the PascalCase convention and append "Controller" to the file name (e.g., UserController.js).
|
- Name controller files using the PascalCase convention and append "Controller" to the file name (e.g., UserController.js).
|
||||||
- Use controller methods to encapsulate logic related to the route handling.
|
- Use controller methods to encapsulate logic related to the route handling.
|
||||||
- eep controllers thin by delegating complex operations to service or model files.
|
- Keep controllers thin by delegating complex operations to service or model files.
|
||||||
|
|
||||||
#### Services
|
#### Services
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue