mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-05 03:37:57 +01:00
- Add CI pipeline that runs on pushes to main and PRs - Runs linting, type checking, and build verification - Vercel automatically deploys when merged to main - Update deployment documentation
RevampIT Documentation
This directory contains comprehensive documentation for the RevampIT platform components, APIs, and architecture.
created_date: 2025-01-15
last_modified_date: 2025-11-26
last_modified_summary: Dokumentation um aktuellen Shop-Routing-Status (Legacy, Shopware, Medusa-Planung) ergänzt
⚠️ Essential Reading
Before starting any development work, please review:
- Best Practices Guide - Comprehensive guide covering web development, design, UX/UI, content, and critical AI slop prevention ⚠️
Structure
docs/
├── README.md # This file
├── components/ # Component documentation
│ ├── SuggestionButton.md # User feedback system
│ └── RevampCopilot.md # AI chatbot (if documented)
├── api/ # API documentation
│ ├── suggestions.md # Suggestion API endpoints
│ └── admin.md # Admin API endpoints
├── architecture/ # System architecture docs
│ ├── overview.md # High-level architecture
│ └── database.md # Database schema and design
├── deployment/ # Deployment and DevOps
│ ├── vercel.md # Vercel deployment guide
│ └── environment.md # Environment variables
├── guides/ # User and developer guides
│ ├── development.md # Development setup
│ ├── contributing.md # Contribution guidelines
│ └── troubleshooting.md # Common issues and solutions
├── floating-ui-typing-fix.md # Critical typing issue fix documentation
└── legacy/ # Archived documentation
Quick Navigation
Components
- SuggestionButton - Comprehensive user feedback system with multi-scope suggestions and element selection
APIs
- Suggestion API - RESTful endpoints for managing user suggestions (TODO)
- Admin API - Administrative endpoints and authentication (TODO)
Architecture
- System Overview - High-level system design and data flow (TODO)
- Database Design - Schema and relationships (TODO)
Deployment
- Vercel Deployment - Production deployment guide (TODO)
- Environment Setup - Configuration and secrets (TODO)
Development
- Getting Started - Local development setup (TODO)
- Contributing - Code standards and PR process (TODO)
- Troubleshooting - Common issues and solutions (TODO)
Essential References
- Best Practices Guide - Complete best practices for development, design, UX/UI, and AI slop prevention ⚠️
Special Documentation
- Floating UI Typing Fix - Critical fix for React input pattern conflicts (September 2025)
- Shop-Routing-Überblick: Die Hauptnavigation verlinkt
Shopauf die Seite/shop.- Diese Seite bietet eine Übersicht über alle Einkaufskanäle (Ladenlokal, aktueller Online‑Shop, Shopware‑Shop, geplanter Medusa‑Shop).
- Technische Links:
- Aktueller Online‑Shop (Legacy):
https://www.revamp-it.ch/index.php/de/shop-de - Shopware-Shop:
https://shop.revamp-it.ch/ - Zukünftiger Medusa‑Shop (Platzhalter‑Route):
/shop/medusa
- Aktueller Online‑Shop (Legacy):
Documentation Standards
Component Documentation
Each component should include:
- Overview - Purpose and key features
- API Reference - Props, methods, events
- Usage Examples - Code snippets and patterns
- Architecture - Internal structure and patterns
- Styling - CSS classes and theming
- Accessibility - ARIA labels and keyboard navigation
- Best Practices - Performance and maintainability tips
- Troubleshooting - Common issues and solutions
API Documentation
Each API endpoint should document:
- Endpoint details - URL, method, authentication
- Request/Response schemas - TypeScript interfaces
- Error handling - Status codes and error messages
- Rate limiting - Limits and policies
- Examples - cURL and JavaScript examples
Code Standards
- TypeScript interfaces for all data structures
- JSDoc comments for public functions and classes
- Inline comments for complex business logic
- README files in each major directory
- Architecture decision records (ADRs) for significant decisions
Contributing to Documentation
- Keep it current - Update docs when changing functionality
- Be comprehensive - Include examples and edge cases
- Use clear language - Write for different skill levels
- Add diagrams - Visual aids for complex concepts
- Test examples - Ensure all code snippets work
- Link related content - Cross-reference related documentation
Tools and Conventions
Markdown
- Use GitHub Flavored Markdown for consistency
- Include table of contents for long documents
- Use code blocks with language specification
- Add badges for status indicators
Diagrams
- Mermaid for flowcharts and architecture diagrams
- ASCII art for simple text diagrams
- Screenshots for UI components and workflows
Code Examples
- TypeScript for type safety and clarity
- Complete examples that can be copy-pasted
- Error handling in production examples
- Environment considerations (dev vs prod)
This documentation is maintained by the RevampIT development team. For questions or suggestions, please create an issue or contact the maintainers.