How pranav-kunjir/simplechat works
Project type and purpose
• This is a full-stack web application scaffolded with “npm create convex” using React on the frontend, Vite as the build and dev server, Tailwind for styling, and Convex for backend data storage, server logic, and authentication.
• The README outlines that Convex provides both the database and serverless functions, plus an integrated “Convex Auth” flow.
File structure
Top-level files and folders:
• src/ : React app code (App.tsx, UI components, CSS, entry point main.tsx)
• public/ & index.html : static assets and HTML template
• convex/ : backend logic
• schema.ts (database schema)
• myFunctions.ts (serverless mutation/queries)
• auth.ts & auth.config.ts (authentication)
• http.ts (optional custom HTTP endpoints)
• _generated/ (Convex-generated TypeScript bindings for API and server)
• setup.mjs, package.json, tsconfig*.json, vite.config.ts : build, type, and deployment configuration
README for additional insights
• Technology stack confirmed: React + Vite + Tailwind + Convex + Convex Auth
• No other microservices or external APIs are mentioned, so this is a single back-end service provided by Convex.
Detail without overcomplicating
• How Convex Auth integrates alongside standard function calls
• Avoid drawing every UI component; group them under “React UI” but list major pages (signin.tsx, chatSidebar.tsx, messages.tsx)