app/: Contains the core Next.js routing structure. Every sub-folder represents a route path (e.g., /ar, /info).components/: Contains reusable React components that are not tied to the above routes (generally also used for better file management).hooks/: Custom React hooks for shared client-side logic.lib/ (Core Logic & Config): Utility functions, configurations, and backend clients like Supabase, Jotai, and Types.public/: Static assets like images, icons, and Marker SVGs.To keep the codebase predictable, I like this system for readability:
first-time-modal.tsx, home-client.tsx.FirstTimeModal, HomeClient.totalScans, claimPrize.Artwork, UserGift.During the lifecycle of this project we frequently encountered newly disclosed CVEs (Common Vulnerabilities and Exposures)