How knchn-1/volunteer-connect-recruit-website works
Project type and purpose
• This is a full-stack web application (“NGO Volunteer Recruitment Platform”) whose goal is to connect NGOs with volunteers.
• Frontend: React + TypeScript (Vite)
• Backend: Express.js + TypeScript + Drizzle ORM (MongoDB)
• Shared: Type definitions and schema in shared/schema.ts
File structure
• Top-level folders:
• client/ – React app
• server/ – Express API
• shared/ – cross-cutting schema/typings
• Key client subfolders:
• src/components/ – UI components (and a subfolder ui/ with primitives)
• src/pages/ – route-level pages (landing, auth, dashboards, profiles)
• src/hooks/, src/lib/ – abstractions (auth, toast, protected routes, QueryClient)
• Server side:
• routes.ts – all HTTP endpoints
• auth.ts – JWT/session logic
• mongodb.ts – DB connection via Drizzle ORM
• storage.ts – file‐ or asset‐storage logic
• Config & build: Vite (vite.config.ts), tailwind, tsconfig, drizzle.config.ts.
README for additional insights
• Confirms tech stack, high-level features: NGO/volunteer profiles, opportunity posting, dashboards.
• No pre-drawn architecture, so we must derive it.