How killich8/devops-website works
Project type and purpose
• This is a single-page frontend application built with React and Vite.
• It appears to be a personal/portfolio-style site (sections like Hero, About, Experience, Blogs, Contact, with 3D canvas scenes).
• It is configured for Firebase Hosting (firebase.json, .firebaserc).
File structure
• Top level:
• Configuration files (vite.config.js, tailwind.config.js, eslint.config.js, package.json, firebase.json)
• Public folder: static assets and 3D scene files under public/desktop_pc, public/planet
• src folder: application source code
• src breakdown:
• App.jsx / main.jsx entrypoints
• components/ – React presentational & canvas components (Ball, Earth, Computers, Stars)
• hoc/ – SectionWrapper higher-order component
• constants/, utils/ – shared values and motion helpers
• styles.js, index.css – styling (tailwind + CSS modules)
• Build & deployment:
• Vite dev server with HMR
• Production build outputs to /dist (zipped in dist.zip)
• Hosted via Firebase
README
• Confirms React + Vite template with HMR via either Babel or SWC plugin
• No backend services beyond static hosting
a. Main components
• Developer workstation
• Source code (src/)
• Vite dev server + HMR
• Build pipeline
• Vite (plugins: @vitejs/plugin-react or plugin-react-swc)
• Tailwind CSS processor
• ESLint, postcss
• Runtime environment
• Static assets (public/) served by Firebase Hosting (CDN)
• Client browser running React app
• External services
• Firebase Hosting
b. Relationships & interactions
• DEV: Editor → Vite dev server → Browser (HMR)
• PROD: src + public + configs → Vite build → dist (static files) → Firebase CLI → Firebase Hosting (CDN) → End-user browser
• At runtime the React app loads 3D scenes from /public/*, assets from /assets/*, and renders via three.js in canvas components.
c. Architectural patterns / design principles
• Component-based UI (React)
• HOC pattern (SectionWrapper) for section demarcation
• Static asset pipeline (3D models, textures)
• CSS utility classes (Tailwind)
d. Key technologies
• React, Vite, Babel or SWC plugin
• Tailwind CSS, PostCSS
• ESLint
• Firebase Hosting
• three.js (via canvas components)