How shouryam-kumar/soa-portal works
Project type and purpose
• From the file tree and README, this is a full-stack web application built with Next.js (App Router) and TypeScript.
• It provides user authentication (login/register), role-based areas (admin dashboard, user dashboard), feature modules (proposals, bounties, ideaboard, rewards), and integrates with Supabase for auth & data, plus a Web3 wallet connector.
File structure
• Top-level config files: next.config.ts, eslint.config.mjs, tsconfig.json.
• public/ holds static assets (images).
• src/app/ follows Next.js’s App Router, with nested folders for each route (e.g., (auth), admin, bounties, dashboard, ideaboard, proposals, profile, etc.).
• src/components/ groups UI components by domain: layout, admin, ideaboard, proposals, web3, providers, ui.
• src/lib/supabase.ts contains the Supabase client setup.
• src/middleware.ts likely performs route-level checks (e.g., auth).
• src/types/ holds shared TypeScript types.
• src/utils/ has helper functions.
README for additional insights
• Confirms use of Next.js, optimized fonts, and Vercel for deployment.