How stclab-inc/nf4-demo works
Main Components
a. Client-Side Architecture:
• Next.js Application (App Router)
• NetFunnel Agent Integration
• Page Components Structure
• Client-Side Routing System
┌─ Next.js Application ─────────────────────┐
• ┌─ Pages & Routing ──────────────────┐ │
• Install Route │ │
• Segment Routes (Dynamic/Static) │ │
• Target Pages │ │
• ┘ │
• ┌─ Components ─────────────────────┐ │
• GNB (Global Navigation) │ │
• InitializeNFScript │ │
• ┘ │
• ┌─ NetFunnel Integration ──────────┐ │
• Agent Configuration │ │
• Queue Management │ │
• ┘ │
• ┘
Key Relationships to Highlight
a. Route Structure:
• Hierarchical relationship between routes:
• Main routes (/install, /segment)
• Sub-routes (static/dynamic segments)
• Target pages
b. Component Integration:
• How InitializeNFScript component interfaces with the NetFunnel system
• GNB component's relationship with the routing system
Additional Elements
a. Configuration Layer:
• next.config.ts settings
• TypeScript configuration (tsconfig.json)
• Global types (global.d.ts)
b. Static Assets:
• Public directory structure
• Style modules organization
Implementation Notes
• Version information and date of last update
• Creating separate views for different levels of detail