How ehbfilmworks/idpa works
Main Components
• Frontend Application: This includes all source code in the src directory (App.vue, Vue components, views, router configuration, and stylesheets in assets).
• Routing & Views: Clearly denote the use of vue-router as indicated by the src/router directory and various view components (home.vue, contact.vue, drone.vue, projects.vue, etc.).
• Static Assets & Styles: Identify assets such as SCSS files, images, and videos (both within src/assets and in the dist folder).
• Build & Deployment: Include the build configuration file (vite.config.js) and the deployment workflow located in .github/workflows/deploy.yml, which defines CI/CD for the deployment process.
Out the Relationships and Data Flow
• Central Frontend Application as the core component.
• Application to its sub-components:
• The Router, which dynamically loads various view components based on user navigation (for example, DetailViews like meggen.vue and palace.vue, and other pages such as home.vue, contact.vue, info.vue, offer.vue, and projects.vue).
• The Vue components (like footer.vue, navigation.vue) that support UI elements present in multiple views.
• Static asset handling: highlight that the assets (video files, SCSS) are compiled/bundled by Vite and then injected into the final build output in the dist folder.
• Deployment pipeline: from code commits to GitHub Actions that deploy the latest build (as indicated by deploy.yml).
Architectural Patterns and Design Principles
• Component-Based Architecture: Show that the project uses Vue’s component-based structure, with separation of concerns between UI components, routing logic, and application state (if any).
• Single-Page Application (SPA) Structure: Emphasize how the router manages view transitions without full page reloads.
• Build and Deployment Automation: Note the use of Vite for rapid builds and GitHub Actions for CI/CD pipelines, ensuring that changes are automatically built and deployed.
Relevant Technologies & Tools
• Vue.js: For constructing the UI and component interactions.
• Vite: For bundling and build-time optimizations.
• SCSS: For styling components, with various SCSS files in assets.
• GitHub Actions: For automating build and deployment workflows.