How ayane0857/ayane-utau-site works
Project type and purpose
• This is a full-stack, server-side rendered React application built with Next.js 13 (the app/ directory).
• It serves dynamic and static pages (news, license, sitemap, etc.) and is styled with Tailwind CSS.
• It is containerized with Docker and deployed to a Kubernetes cluster via ArgoCD (see argoCD/ manifests).
File structure
Top-level areas:
• app/ → Next.js “App Router” pages and layouts
• components/ → UI components (buttons, cards, header, footer, newslist)
• lib/ → shared utilities (utils.ts) and a custom API client (client.js)
• argoCD/ → Kubernetes YAMLs: Deployment, Service, Ingress, Secrets, SealedSecret
• Dockerfile → container build definition
• GitHub Actions workflow (in .github/workflows/image.yaml)
• Config files: next.config.ts, tailwind.config.js, postcss.config.mjs, tsconfig.json
README for additional insights
• It confirms a standard Create-Next-App setup.
• References Next.js font optimization, development (npm run dev), and Vercel deployment suggestions (though this setup uses Docker/K8s).
Architectural patterns & design principles
• Component-based UI (React + Next.js App Router)
• Separation of concerns:
Frontend (pages, components) ↔ Server (SSR, data fetching) ↔ Infrastructure (Docker + K8s)
• GitOps deployment (ArgoCD)
• Declarative manifests for infra (Ingress, Service, Deployment, Secrets)