How attensys-stark/attensysui works
Project type and purpose
• AttenSysUI is a full-stack Next.js application focused on event/bootcamp/course management with on-chain certification and attendance tracking.
• The README shows it combines a React/Next.js front end, Next.js API routes (serverless back end), integrations with Pinata (IPFS), Firebase, and Starknet smart contracts.
File structure
• Top-level “src/app” holds all Next.js 13+ route handlers (page.tsx, layout.tsx) and API routes under “src/app/api/…/route.ts”.
• “src/components” contains hundreds of UI components organized by feature domain (bootcamp, courses, events, explorer, etc.).
• “src/lib/firebase” and “src/lib/services” hold Firebase client initialization and business logic wrappers (authService, reviewService).
• “src/deployments” contains contract ABIs and addresses for on-chain interactions.
• “src/hooks”, “src/utils”, and “src/services” are custom React hooks, utility functions, and client-side service modules (signMessage, addNetwork).
• Config and constants (.env, config.ts, constants/index.ts) drive API keys (Pinata), network URLs, and chain parameters.
README for additional insights
• The architecture is a single Next.js monorepo combining front end UI, back end API routes, and on-chain calls.
• External dependencies include:
• Pinata API (for IPFS uploads)
• Starknet blockchain (for NFT certificates & attendance records)
• Firebase (for user auth and real-time data if used)
Elements
• UI → API routes
• API routes → Service wrappers → External services
• External back to API/UI for responses
• Blue for frontend components
• Green for serverless/backend
• Yellow for services
• Gray/cloud for external