Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# ---- OS / Editors ----
.DS_Store
._*
.Spotlight-V100
.Trashes
.idea/
.vscode/
*.swp
Expand All @@ -16,26 +19,29 @@ build/
.eggs/
.wheelhouse/
.coverage
coverage.xml
htmlcov/
.tox/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.cache/

# ---- Node / Frontend (if UI present) ----
# ---- Node / Frontend ----
node_modules/
pnpm-lock.yaml
yarn.lock
npm-debug.log*
.vite/
dist/
coverage/
*.map

# ---- Env / Secrets ----
.env
.env.*
**/.env
**/.env.*
!.env.example
.envrc
.npmrc
.pypirc
*.key
*.crt
*.pem
Expand All @@ -58,3 +64,14 @@ crash.log
*.sqlite3
data/
documents/

# Frontend
frontend/node_modules
frontend/dist
frontend/.env
frontend/.DS_Store

# Backend
backend/.venv
backend/__pycache__/
backend/.env
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
146 changes: 146 additions & 0 deletions .secrets.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"version": "1.5.0",
"plugins_used": [
{
"name": "ArtifactoryDetector"
},
{
"name": "AWSKeyDetector"
},
{
"name": "AzureStorageKeyDetector"
},
{
"name": "Base64HighEntropyString",
"limit": 4.5
},
{
"name": "BasicAuthDetector"
},
{
"name": "CloudantDetector"
},
{
"name": "DiscordBotTokenDetector"
},
{
"name": "GitHubTokenDetector"
},
{
"name": "GitLabTokenDetector"
},
{
"name": "HexHighEntropyString",
"limit": 3.0
},
{
"name": "IbmCloudIamDetector"
},
{
"name": "IbmCosHmacDetector"
},
{
"name": "IPPublicDetector"
},
{
"name": "JwtTokenDetector"
},
{
"name": "KeywordDetector",
"keyword_exclude": ""
},
{
"name": "MailchimpDetector"
},
{
"name": "NpmDetector"
},
{
"name": "OpenAIDetector"
},
{
"name": "PrivateKeyDetector"
},
{
"name": "PypiTokenDetector"
},
{
"name": "SendGridDetector"
},
{
"name": "SlackDetector"
},
{
"name": "SoftlayerDetector"
},
{
"name": "SquareOAuthDetector"
},
{
"name": "StripeDetector"
},
{
"name": "TelegramBotTokenDetector"
},
{
"name": "TwilioKeyDetector"
}
],
"filters_used": [
{
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
},
{
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
"min_level": 2
},
{
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
},
{
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
},
{
"path": "detect_secrets.filters.heuristic.is_lock_file"
},
{
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
},
{
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
},
{
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
},
{
"path": "detect_secrets.filters.heuristic.is_sequential_string"
},
{
"path": "detect_secrets.filters.heuristic.is_swagger_file"
},
{
"path": "detect_secrets.filters.heuristic.is_templated_secret"
}
],
"results": {
"frontend/AWS_DEPLOYMENT_GUIDE.md": [
{
"type": "AWS Access Key",
"filename": "frontend/AWS_DEPLOYMENT_GUIDE.md",
"hashed_secret": "a9c45238941ad6df08ccd2d0ed0e20c8ea34154b",
"is_verified": false,
"line_number": 113
}
],
"frontend/ec2-credentials.txt": [
{
"type": "Secret Keyword",
"filename": "frontend/ec2-credentials.txt",
"hashed_secret": "34f5d1338a932cb8f0b03d00db4fe8719ea65739",
"is_verified": false,
"line_number": 5
}
]
},
"generated_at": "2025-08-23T03:16:18Z"
}
9 changes: 9 additions & 0 deletions frontend/backend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-4o-mini
OPENAI_MAX_TOKENS=1000
OPENAI_TEMPERATURE=0.7

# Application Configuration
DEBUG=True
ENVIRONMENT=development