How eggsy/website works
High-Level Architecture Overview
a) Frontend Layer:
• Nuxt.js as the main framework (Static Site Generation)
• Windi CSS for styling
• TypeScript for type safety
• Vue components structure
b) External Services Layer:
• Firebase integration
• Lanyard API (Discord profile)
• Last.fm API
• GitHub API
Component Structure
src/
• layouts/
• pages/
• components/
• Blog/
• Card/
• Loaders/
• Smart/
• SkeletonLoader/
Data Flow Representation
Flow of data between:
• Content (Markdown files) → Nuxt Content → Pages
• External APIs → Plugin Layer → Components
• Static Assets → Build Process → Generated Site
Specific Implementation Details
Create subsections for:
a) Build Process:
• Nuxt.js static site generation
• TypeScript compilation
• Asset optimization
b) Integration Points:
• Firebase services (optional)
• API integrations
• Content management
The integration points with external services
Important Notes:
• Keep Firebase integration separate and clearly marked as optional
• Markdown-driven blog system
• Real-time data flow from Discord and Last.fm
• Build process that generates the static site
• The scalability of the component structure
• The type safety provided by TypeScript
• The clear separation of concerns in the directory structure
• The plugin-based architecture for external integrations
Tools Recommendation:
• Professional-looking components
• Easy-to-understand relationships
• Export capabilities
• Version control friendly formats