Cline rules
.clinerules/file_locations.mdCline rules
Quality
58/100
Scores the file, not the repository.Length
566 words
27 headings · 14 code blocksRepository
0
— · pushed 25 days agoLast changed
2 days ago
First indexed 2 days ago.1# File Locations23## Backend Structure (`backend/app/`)45### API Layer6```7backend/app/api/routers/8├── auth_router.py ← Authentication endpoints9├── health.py ← Health check endpoint10├── model.py ← 3D model serving endpoints11└── user_router.py ← User management endpoints12```1314### Service Layer15```16backend/app/services/17├── auth_service.py ← Authentication business logic18└── user_service.py ← User management business logic19```2021### Repository Layer22```23backend/app/repositories/24├── base.py ← BaseRepository with common CRUD25├── session_repository.py ← Session data access26└── user_repository.py ← User data access27```2829### Database Models30```31backend/app/models/32├── achievement.py ← Achievement & UserAchievement models33├── base.py ← Base model class34├── location.py ← Location model35├── metrics.py ← Metrics & MetricSnapshot models36├── session.py ← Session & Device models37└── user.py ← User, Role, UserRole models38```3940### Pydantic Schemas41```42backend/app/schemas/43├── achievement.py ← Achievement schemas44├── location.py ← Location schemas45├── metrics.py ← Metrics schemas46├── model.py ← 3D model schemas47├── session.py ← Session schemas48└── user.py ← User schemas49```5051### Core Configuration52```53backend/app/core/54├── config.py ← Application settings55├── database.py ← Database connection & session56├── logging.py ← Logging configuration57└── security.py ← Password hashing & JWT58```5960### Static Files61```62backend/static/models/63├── sapi3D_V1.2.glb ← Main 3D building model64└── sapi3Dasynctrigger.glb ← Alternative model65```6667## Frontend Structure (`frontend/src/`)6869### Components70```71frontend/src/components/72├── Login.jsx ← Login form73├── Login.css ← Login styles74├── Register.jsx ← Registration form75├── Register.css ← Registration styles76├── Navbar.jsx ← Top navigation bar77├── Sidebar.jsx ← Side menu78└── three/79 ├── ThreeScene.jsx ← Main 3D scene container80 ├── Building.jsx ← 3D model loader81 ├── PlayerMovement.js ← First-person controls82 └── Metrics.js ← Performance tracking83```8485### Services86```87frontend/src/services/88└── api.js ← API client (axios)89```9091### Main Files92```93frontend/src/94├── App.jsx ← Main application component95├── App.css ← Application styles96├── main.jsx ← React entry point97└── index.css ← Global styles98```99100## Documentation (`docs/`)101102```103docs/104├── index.md ← Documentation hub105├── architecture.md ← Architecture diagrams & details106├── api-reference.md ← API endpoint reference107├── development-guide.md ← Development workflows108└── features.md ← Feature documentation109```110111## Configuration Files112113### Root Level114```115/116├── docker-compose.base.yml ← Base Docker config117├── docker-compose.dev.yml ← Development overrides118├── docker-compose.prod.yml ← Production overrides119├── .env.dev ← Development environment120├── .env.prod ← Production environment121├── run_dev.sh ← Start development122├── run_prod.sh ← Start production123├── stop_dev.sh ← Stop development124├── stop_prod.sh ← Stop production125└── logs_dev.sh ← View development logs126```127128### Backend Config129```130backend/131├── Dockerfile ← Backend container definition132├── pyproject.toml ← Python dependencies (Poetry)133└── run_test.sh ← Run tests134```135136### Frontend Config137```138frontend/139├── Dockerfile ← Frontend container definition140├── nginx.conf ← Nginx configuration (production)141├── package.json ← Node dependencies142└── vite.config.js ← Vite configuration143```144145## Quick File Lookup146147### Need to add a new endpoint?148→ `backend/app/api/routers/` (create or edit router)149→ `backend/app/main.py` (register router)150151### Need to add business logic?152→ `backend/app/services/` (create or edit service)153154### Need to add database queries?155→ `backend/app/repositories/` (create or edit repository)156157### Need to add a database table?158→ `backend/app/models/` (create or edit model)159160### Need to add API schemas?161→ `backend/app/schemas/` (create or edit schema)162163### Need to add a React component?164→ `frontend/src/components/` (create component)165166### Need to modify 3D scene?167→ `frontend/src/components/three/` (edit Three.js components)168169## Detailed Documentation170171→ Complete directory structure: `docs/architecture.md#directory-structure`172→ Adding new features: `docs/development-guide.md#adding-a-new-feature`173
Also in KiralyAlparCsaba/Sapi3D
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| KiralyAlparCsaba/Sapi3D.clinerules/api_patterns.md · 0 | Cline rules | teststyleapiui+1 | 52/100 | 2 days ago | |
| KiralyAlparCsaba/Sapi3D.clinerules/architecture.md · 0 | Cline rules | archdatabaseapiui+2 | 54/100 | 2 days ago | |
| KiralyAlparCsaba/Sapi3D.clinerules/common_tasks.md · 0 | Cline rules | setupbuildtestdatabase+3 | 82/100 | 2 days ago | |
| KiralyAlparCsaba/Sapi3D.clinerules/database.md · 0 | Cline rules | archsecuritydatabaseperformance+1 | 62/100 | 2 days ago | |
| KiralyAlparCsaba/Sapi3D.clinerules/project_overview.md · 0 | Cline rules | archdatabasedocs | 48/100 | 2 days ago | |
| KiralyAlparCsaba/Sapi3D.clinerules/validation_rules.md · 0 | Cline rules | styletypesdatabaseapi+2 | 73/100 | 2 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bashdeban/fastmind.clinerules/.project-consistency-keeper2.md · 5 | Cline rules | setupbuildtestlint-format+11 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.clinerules · 31k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0 | Cline rules | buildstylearchgit+2 | 96/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| prabhakar267/paper-games.clinerules/git-commit-guidelines.md · 0 | Cline rules | lint-formatstylearchgit+3 | 93/100 | 2 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday |
