How pablov-git/favourite-films works
Project type and purpose
• This is a front-end Single Page Application (SPA) built with Vue 3 and Vite.
• There is no backend directory or API code; it’s a static-asset–driven UI that could be hosted on a CDN or static-site host.
File structure
• Top-level files:
• index.html – the SPA’s entry point
• package.json / package-lock.json – Node/NPM dependencies and scripts
• vite.config.js – Vite build/dev server configuration
• public/ – place for truly static assets (favicon, robots.txt, etc.)
• src/ – application code:
• main.js – bootstraps Vue and mounts App.vue
• App.vue – root component
• components/ – reusable SFCs: HeaderComponent.vue, MovieCard.vue, FavouriteComponent.vue
• assets/ – images, fonts
• style.css – global styles
README for additional insights
• It’s a minimal template to get started with Vue 3 + Vite.
• Uses <script setup> SFC syntax and ES modules.
• Implies a typical local dev workflow (Vite dev server with HMR) and a build step producing static files.
Final advice
• Core layers: developer tooling, build pipeline, hosting, runtime
• Lay out the component hierarchy explicitly
• Don’t overengineer—break the project into the SPA’s major moving parts and show how they connect
• Keep it readable: group related elements (all SFCs under one “Components” cluster) and annotate data flows (module import, HTTP fetch, HMR)