49 lines
1.6 KiB
Markdown
49 lines
1.6 KiB
Markdown
# Project Structure Examples
|
|
|
|
Complete project structure examples for Grey Haven applications.
|
|
|
|
## Available Examples
|
|
|
|
### [frontend-directory-structure.md](frontend-directory-structure.md)
|
|
Full TanStack Start project structure.
|
|
- Complete directory tree with annotations
|
|
- File-based routing examples
|
|
- Component organization patterns
|
|
- Server functions structure
|
|
|
|
### [backend-directory-structure.md](backend-directory-structure.md)
|
|
Full FastAPI project structure.
|
|
- Complete directory tree with annotations
|
|
- Routers, services, repositories layers
|
|
- Database models and migrations
|
|
- Testing organization
|
|
|
|
### [component-structure.md](component-structure.md)
|
|
React component organization patterns.
|
|
- Import ordering
|
|
- Hook usage patterns
|
|
- Event handler organization
|
|
- JSX structure
|
|
|
|
### [repository-pattern.md](repository-pattern.md)
|
|
Repository pattern with tenant isolation.
|
|
- Base repository implementation
|
|
- Specific repository examples
|
|
- Tenant filtering patterns
|
|
- Async/await patterns
|
|
|
|
### [service-pattern.md](service-pattern.md)
|
|
Service layer examples.
|
|
- Business logic organization
|
|
- Service dependencies
|
|
- Error handling
|
|
- Validation patterns
|
|
|
|
## Quick Reference
|
|
|
|
**Need frontend structure?** → [frontend-directory-structure.md](frontend-directory-structure.md)
|
|
**Need backend structure?** → [backend-directory-structure.md](backend-directory-structure.md)
|
|
**Need component patterns?** → [component-structure.md](component-structure.md)
|
|
**Need repository patterns?** → [repository-pattern.md](repository-pattern.md)
|
|
**Need service patterns?** → [service-pattern.md](service-pattern.md)
|