How arijiiiitttt/doorbell works
Project type and purpose
• This is a full-stack Next.js web application called “DoorBell.”
• Purpose (inferred from filenames):
• Allow users to select interests (InterestTags.jsx)
• Match users via an API route (pages/api/match.js)
• Enable peer-to-peer video chat (VideoChat.jsx)
• Serve static/legal pages (Terms of Service, home, doorbell landing)
File structure
• Top-level config & build files: next.config.mjs, jsconfig.json, postcss.config.mjs, package.json, ESLint config
• pages/ folder: classic Next.js routes + an API endpoint (pages/api/match.js)
• src/app/: new‐style App Router components (layout.js, page.js), nested routes (doorbell/page.jsx, termsofservice/page.jsx)
• src/app/components/: reusable UI pieces (InterestTags.jsx, VideoChat.jsx, Home.jsx)
• No explicit database folder, so assume a cloud/third-party store or in-memory store behind /api/match
Extract additional insights from README
• README only contains “# DoorBell,” so features & architecture must be inferred from file names and Next.js conventions