How that-veejay/jotdb works
Project type and purpose
• From the README (“JOTDB – A lightweight, distraction-free web app for capturing and organizing your ideas”) and the file tree (a Next.js project under src/app, plus Supabase client/server utilities), we can see this is a full-stack, server-rendered React application using Next.js 13’s App Router. It provides user authentication (via Supabase Auth) and storage of “notes” or “jots” in a Supabase (PostgreSQL) backend.
File structure
• Top-level:
• next.config.ts, postcss.config.mjs, eslint.config.mjs → build & lint configuration.
• public/ → static assets.
• src/app/ → Next.js App Router pages & layouts, split into (auth) and (main) areas.
• src/context/ → React context for posts.
• src/hooks/ → custom hooks (mobile detection, Tiptap editor).
• src/lib/ → theme provider and generic utilities.
• src/utils/supabase/ → supabase client/server wrappers and middleware.
• Architectural hints:
• Monolithic Next.js app – no microservices.
• App Router organizes routing into “auth” and “main” segments.
• Uses Supabase both client-side and server-side for data and auth.
Key points from README
• Confirms minimalist UI, quick capture.