How team-altf4/gradegenie works
Project Type & Purpose
• GradeGenie is a full-stack application with two main parts: a frontend built with React and TypeScript (in the Client directory) and a backend built with Node.js/Express.js (in the Server directory). It also interacts with a MongoDB database.
• Its purpose is to streamline grading, offer performance analytics, and deliver a user-friendly dashboard.
Analyzing the File Structure
• Client Directory:
• Contains common React project files such as index.html, main.tsx, and tsconfig files.
• Organized into several folders (Components, Pages, Context API, assets, utils) that indicate separation of concerns:
▪ Components: Reusable UI elements (e.g., AssignmentCard, Dashboard, Sidebar) form the core of the UI.
▪ Pages: Different views (Home, Login, Signup, LandingPage, ErrorRoute) to handle routing.
▪ Context API: Centralized state management which indicates a shared state across components.
• Configuration for tools such as ESLint, Vite, and deployment (vercel.json) are also present.
• Server Directory:
• Contains configurations (Config), middleware for request processing, and schemas (for the database).
• The presence of Middleware, Schema, and Utils directories along with an entry point in index.ts suggests a classic Express.js setup.
• Environment sample file (.env.example) indicates externalized configuration details like DB connection strings, which in production might point toward MongoDB.