How prash-ant-magician/internship works
Project type and purpose
• This is a full-stack web application built with Next.js (App Router).
• It provides internship search, recommendation, chat-based assistance, and user dashboards (intern, company, admin).
• It uses Firebase for Authentication and Firestore as its primary database.
• It embeds AI “flows” (chatbot assistance, internship recommendation, translation) powered by an AI-GenKit layer.
File structure
• Top level:
• next.config.ts, tailwind.config.ts, postcss.config.mjs – build/deployment config
• apphosting.yaml – Google App Engine deployment
• firestore.rules / firestore.indexes.json – Firestore security & indexes
• src/app – Next.js pages & layouts (React Server + Client components)
• src/components – shared UI components (atomic design under ui/)
• src/context & src/hooks – React state & utility hooks
• src/firebase – client/server wrappers for Auth & Firestore interactions
• src/ai – server-side AI flows & genkit integration
• src/lib – shared utilities, type definitions, placeholder assets
• Patterns:
• Next.js App Router for page routing & layouts
• Server Actions (src/app/actions.ts) for form submissions (e.g., signup, login)
• “Islands” of client components within React Server Components
• Firebase-backed state (Auth, Firestore) via custom hooks & providers
• Serverless/edge functions style for AI flows (src/ai/flows)
README for additional insights
• README lacks detailed architecture; primary clue is the project code name (D4A2-5AF1).
• All architecture details must be inferred from code and config.