How abdelrahman-sheded/graduationproject works
Project type and purpose
– This is a Next.js full-stack web application (App Router) focused on recruitment/chat functionality.
– Directory names like “(auth)”, “(chat)”, “(main)” and components for candidates, CV ranking, job management, and chat indicate a platform where users log in, upload CVs, interact via chat, and administrators manage jobs/posts.
File structure
– Top-level files: next.config.mjs, jsconfig.json, package.json → standard Next.js config and dependency management.
– /public → static assets (images, favicon, robots.txt).
– /src/app → main App Router directory:
• /(auth) → authentication pages (login).
• /(chat) → chat sub-app with routes for candidates, CV rankings, job chat (dynamic [slug] routes), upload CV.
• /(main) → main public pages (posts, admin dashboard).
• /components → reusable React components (tables, forms, navigation, response bubbles).
• /utils → helper functions (formatJobSlug, truncatePhone).
– Styles: .module.scss files next to components and layouts → CSS Modules.
– No explicit /api folder, but Next.js server components may implement server-side logic (e.g., getServerSideProps or route handlers).
README
– Bootstrapped with create-next-app, uses next/font for font optimization.
– No built-in database or API described → likely relies on serverless functions or external services for data persistence, authentication, AI/chat processing.