How rhithesh/chaos_crowd works
Project type and purpose
• ChaosCrowd is a full-stack web application built on Next.js (using the App Router) that enables peer-to-peer fundraising via donation “blinks” on the Solana blockchain. The README calls out Solana blinks, NextAuth for authentication, Prisma with PostgreSQL, and Bun as the runtime.
File structure
• Top-level “app” directory: Next.js server-and-client routes and pages (app/api, app/page.tsx, layout.tsx, etc.).
• “components”: React UI components organized by feature (Auth, Discover, Dashboard, global, ui).
• “provider”: Custom React context providers (SessionProvider, AppWalletProvider, theme).
• “lib” and “hooks”: Business logic utilities (auth and fetchers) and custom hooks.
• “prisma”: Database schema and migrations (PostgreSQL via Prisma).
• Config files: next.config.mjs, tsconfig.json, tailwind.config.ts, postcss.config.mjs.
• State management: zustand folder.
README for additional insights
• It confirms the stack: Bun, Next.js, Docker-hosted Postgres, Prisma, NextAuth (OAuth via Google), Solana wallet integration.