How hetansh2220/crewd works
Project type and purpose
• This is a full-stack Next.js application (“Chat-App”) built with the new App Router.
• It provides user authentication (via Privy), group chat, tipping, media streaming, and image uploads.
• The code includes both UI components under src/app & src/components and server-side logic under src/server plus a relational database via Drizzle ORM.
File structure
• Top-level files: Next.js config (next.config.ts), linting, formatting, Drizzle config, package manifests.
• src/app: the React/Next.js entrypoints for routes: /, /login, /dashboard, /group/[id], /[username].
• src/components: reusable UI building blocks (LandingPage, Dashboard, Login, Settings, ui folder).
• src/server: server functions or API handlers for groups, reviews, streams, tips, transactions, users.
• src/db + drizzle.config.ts: database connection, schema definitions, ORM configuration.
• src/lib + src/hooks: utility modules for streaming, transfers, general helpers.
• src/providers: wrap app with theme, Privy (auth), Cloudinary (media) context providers.
README
• Confirms the Next.js framework, bootstrapped via create-next-app.