This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FastAPI Best Practices | |
| Project Structure | |
| - Use the src-directory layout with `src/your_project/`. | |
| - Organize the code into logical packages such as **models**, **schemas**, **services**, **routers**, etc. | |
| - Use Pydantic for validation: Use Pydantic for data definitions (schemas) and validation. | |
| - Separate tests: Keep tests in a `tests/` directory parallel to the `src/` directory. | |
| - Centralized configuration: Use environment variables or configuration files (like `config.py`) for global app configuration. | |
| Code Style |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AI Behavior | |
| - Always verify information before presenting it. Do not make assumptions or speculate without clear evidence. | |
| - Make changes file by file and give me a chance to spot mistakes. | |
| - Never use apologies. | |
| - Avoid giving feedback about understanding in comments or documentation. | |
| - Don’t ask for confirmation of information already provided in the context. | |
| - Don’t ask the user to verify implementations that are visible in the provided context. | |
| - Don’t suggest updates or changes to files when there are no actual modifications needed. | |
| - Don’t invent changes other than what's explicitly requested. | |
| - Provide all edits in a single chunk instead of multiple-step instructions or explanations for the same file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AI Behavior | |
| - Always verify information before presenting it. Do not make assumptions or speculate without clear evidence. | |
| - Make changes file by file and give me a chance to spot mistakes. | |
| - Never use apologies. | |
| - Avoid giving feedback about understanding in comments or documentation. | |
| - Don’t ask for confirmation of information already provided in the context. | |
| - Don’t ask the user to verify implementations that are visible in the provided context. | |
| - Don’t suggest updates or changes to files when there are no actual modifications needed. | |
| - Don’t invent changes other than what's explicitly requested. | |
| - Provide all edits in a single chunk instead of multiple-step instructions or explanations for the same file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AI Behavior | |
| - Always verify information before presenting it. Do not make assumptions or speculate without clear evidence. | |
| - Make changes file by file and give me a chance to spot mistakes. | |
| - Never use apologies. | |
| - Avoid giving feedback about understanding in comments or documentation. | |
| - Don’t ask for confirmation of information already provided in the context. | |
| - Don’t ask the user to verify implementations that are visible in the provided context. | |
| - Don’t suggest updates or changes to files when there are no actual modifications needed. | |
| - Don’t invent changes other than what's explicitly requested. | |
| - Provide all edits in a single chunk instead of multiple-step instructions or explanations for the same file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .app-bar nav { | |
| flex: 1; | |
| color: #adbac7; | |
| background: #2D333B; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * This file is created to be used with electron for a Desktop APP | |
| */ | |
| const http = require('http') | |
| const express = require('express') | |
| const expressApp = express() | |
| const cors = require('cors') | |
| const router = express.Router() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"lastUpload":"2020-05-04T05:44:19.644Z","extensionVersion":"v3.4.3"} |