This document provides a detailed overview of the Rapid Development Platform Prototype project structure, explaining the purpose and organization of each directory and file.
rapid-dev-platform-prototype/
├── prototypes/ # Main prototype files
├── openspec/ # OpenSpec documentation
├── LICENSE # MIT License
├── README.md # English documentation
├── README_CN.md # Chinese documentation
├── CONTRIBUTING.md # Contribution guidelines
└── PROJECT_STRUCTURE.md # This file
The prototypes/ directory contains all the HTML prototype files and their associated assets.
prototypes/
├── css/ # Shared CSS styles
│ └── style.css # Unified styling system
├── js/ # JavaScript utilities
│ └── breadcrumb.js # Breadcrumb navigation manager
├── images/ # Image assets
│ └── username.png # User avatar image
├── dashboard.html # Main dashboard page
├── projects.html # Project management page
├── designer.html # Visual designer page
├── form-designer.html # Form builder page
├── model-designer.html # Data model designer page
├── data-sources.html # Data source management page
├── data-models.html # Data model management page
├── api-management.html # API management page
├── publish.html # Application publishing page
├── versions.html # Version management page
└── settings.html # System settings page
Purpose: Contains shared CSS styles used across all prototype pages.
- Purpose: Unified styling system for all prototype pages
- Contents:
- CSS custom properties (variables) for theming
- Global styles and resets
- Component styles (buttons, cards, forms, etc.)
- Layout styles (grid, flexbox, etc.)
- Responsive design breakpoints
- Animation and transition styles
- Sidebar brand area styles
- Breadcrumb navigation styles
- Navbar styles
- Responsive design media queries
Key Features:
- Centralized styling system
- Consistent design tokens
- Responsive design support
- Component-based architecture
- Cross-browser compatibility
Purpose: Contains JavaScript utilities and shared functionality.
- Purpose: Breadcrumb navigation manager
- Contents:
BreadcrumbManagerclass- Page title mapping
- Dynamic breadcrumb generation
- Navigation state management
- Cross-page navigation support
Key Features:
- Automatic breadcrumb generation
- Page title mapping
- Dynamic navigation updates
- Cross-page consistency
- Error handling
Purpose: Contains image assets used across the prototype.
- Purpose: User avatar image
- Specifications:
- Size: 32x32 pixels
- Format: PNG
- Background: Transparent
- Usage: User profile pictures in navigation
Note: This is a placeholder file. Replace with actual user avatar image.
Each HTML page represents a different functional area of the rapid development platform.
- Purpose: Main dashboard and overview page
- Features:
- Project overview cards
- Recent activity feed
- Quick access buttons
- Statistics and metrics
- Responsive layout
- Purpose: Project management interface
- Features:
- Project list and grid view
- Project creation and editing
- Search and filtering
- Project status management
- Team collaboration tools
- Purpose: Visual interface designer
- Features:
- Drag-and-drop interface
- Component library
- Property panel
- Canvas area
- Toolbar and controls
- Purpose: Advanced form builder
- Features:
- Form component library
- Logic designer
- Validation rules
- Event handling
- Real-time preview
- Purpose: Data model designer
- Features:
- Page settings
- Model design with field management
- Data settings with flow designer
- Model associations
- CRUD operations
- Purpose: Data source management
- Features:
- Data source connections
- Connection testing
- Data source configuration
- Authentication management
- Data preview
- Purpose: Data model management
- Features:
- Model visualization
- Field management
- Relationship mapping
- Model validation
- Export/import functionality
- Purpose: API design and management
- Features:
- API endpoint design
- Request/response testing
- API documentation
- Authentication setup
- Rate limiting configuration
- Purpose: Application publishing
- Features:
- Deployment configuration
- Environment management
- Build and deployment process
- Release management
- Rollback capabilities
- Purpose: Version control and management
- Features:
- Version history
- Branch management
- Merge and conflict resolution
- Release notes
- Version comparison
- Purpose: System configuration
- Features:
- General settings
- Notification settings
- Integration settings
- Role management
- Advanced configuration
- Backup and restore
The openspec/ directory contains OpenSpec documentation and change management files.
openspec/
├── project.md # Project specifications
├── AGENTS.md # AI agent workflow guide
├── proposals/ # Change proposal templates
│ └── template.md # Standard proposal template
└── changes/ # Change documentation
├── rapid-dev-platform-prototype/
├── complete-remaining-prototypes/
├── enhance-settings-sections/
├── redesign-form-designer/
├── redesign-model-designer/
├── enhance-data-flow-designer/
├── optimize-flow-designer-ui/
├── enhance-data-settings-panel/
├── implement-model-list-modal/
├── implement-form-design-interaction/
├── redesign-form-designer-layout/
├── refine-form-designer-interface/
├── finalize-form-designer-interface/
├── optimize-dashboard-layout/
├── move-title-to-sidebar-top/
├── apply-layout-changes-to-prototypes/
├── apply-layout-to-remaining-prototypes/
└── replace-avatar-with-local-image/
- Purpose: Project specifications and requirements
- Contents:
- Project overview
- Technology stack
- Development conventions
- Deployment requirements
- Purpose: AI agent workflow guide
- Contents:
- Agent collaboration principles
- Workflow stages
- Communication norms
- Best practices
- Purpose: Standard change proposal template
- Contents:
- Proposal structure
- Required sections
- Format guidelines
- Review process
- Purpose: Change documentation and history
- Contents:
- Individual change proposals
- Task lists
- Project summaries
- Implementation details
- Purpose: MIT License file
- Contents: Standard MIT license text
- Usage: Defines usage rights and permissions
- Purpose: English project documentation
- Contents:
- Project overview
- Installation instructions
- Usage guidelines
- Contribution information
- Purpose: Chinese project documentation
- Contents:
- Chinese version of project documentation
- Localized instructions
- Chinese community guidelines
- Purpose: Contribution guidelines
- Contents:
- How to contribute
- Coding standards
- Pull request process
- Issue reporting
- Purpose: This file - project structure documentation
- Contents:
- Detailed directory explanations
- File purposes and contents
- Architecture overview
- Modularity: Each page is self-contained with shared resources
- Consistency: Unified styling and behavior across all pages
- Responsiveness: All pages work on desktop, tablet, and mobile
- Accessibility: Built with accessibility best practices
- Maintainability: Clear structure and documentation
- Frontend: HTML5, CSS3, JavaScript ES6+
- Styling: Tailwind CSS, Custom CSS
- Icons: FontAwesome
- Architecture: Component-based, modular design
- Documentation: Markdown, OpenSpec methodology
- Separation of Concerns: HTML, CSS, and JS are separated
- Shared Resources: Common styles and scripts are centralized
- Page-Specific: Each page can have its own specific styles and scripts
- Documentation: Comprehensive documentation for all components
- Clone the repository
- Navigate to the prototypes directory
- Start a local server
- Open
dashboard.htmlin your browser
- Modify shared styles in
prototypes/css/style.css - Update page-specific content in individual HTML files
- Add new functionality in
prototypes/js/ - Replace placeholder images in
prototypes/images/
- Create new HTML file in
prototypes/directory - Follow existing structure and naming conventions
- Update navigation in all existing pages
- Add page-specific styles if needed
- Update documentation
- Update dependencies: Keep external libraries current
- Test compatibility: Ensure cross-browser compatibility
- Review documentation: Keep documentation up-to-date
- Performance optimization: Monitor and improve performance
- Security updates: Apply security patches as needed
- Git workflow: Use feature branches for changes
- Commit messages: Use clear, descriptive commit messages
- Pull requests: Review all changes before merging
- Documentation: Update documentation with each change
This structure provides a solid foundation for the rapid development platform prototype, with clear organization, comprehensive documentation, and maintainable code architecture.