How raghav26102000/saral-sewa works
Project type and purpose
• This is a Next.js 13 full-stack React application using the App Router.
• Purpose: Display a catalog of “schemes,” allow filtering/searching, view details, and apply via dynamic routes.
File structure
• src/app: the Next.js App Router directory containing layouts, global CSS, and page entry points.
• page.tsx: Home page
• /schemes/page.tsx: Schemes list
• /schemes/[id]/page.tsx: Scheme detail
• /apply/[schemeId]/page.tsx: Application form for a specific scheme
• src/components: domain and UI components organized by feature (home, layout, schemes) and a generic ui/ subfolder.
• src/lib: utility modules (data fetch, helper functions).
• Root configs: Tailwind, PostCSS, ESLint, TypeScript, Next config
README
• Confirms Next.js, create-next-app, dev server, use of next/font, and deployment on Vercel.
• Use clear labels: “App Router,” “Home Page,” “SchemeDetail Component,” “Data Module,” etc.
• Frontend routing & pages (light blue)
• UI components (teal)
• Data layer (green)
• Static assets & styling (orange)
• External services (gray)
Final advice
• Be detailed: include every directory of src/app, src/components, and src/lib.
• Dynamic routing logic ([id]) and provider layer.
• How CSS and fonts integrate at build time.