This repository contains the source code for the user-facing frontend of the SmartCampus AI project. It is a modern Single-Page Application (SPA) built with React that provides an intuitive and responsive interface for all users of the educational ERP.
° Role-Based Dashboards: Custom user interfaces and functionalities tailored for Administrators, Teachers, and Students.
° Secure Authentication: Handles user login and session management using JWTs and a global authentication context.
° Comprehensive Modules: Interactive components for managing admissions, viewing academic progress, tracking attendance, and more.
° Student Risk Dashboard: An innovative feature for mentors that visualizes real-time, AI-driven risk analysis for each student, enabling proactive support.
° Dynamic & Responsive: Built with modern web standards to ensure a seamless experience across all devices.
° Library: React.js
° Language: JavaScript
° Build Tool: Vite
° API Communication: Axios
° Styling: CSS3
Node.js (v18 or later)
npm
- Clone the repository: git clone https://github.com/viru0909-dev/ERP_Frontend.git
- Install dependencies: npm install
- Create a .env.local file in the root directory and add the backend API URL: VITE_API_BASE_URL=http://localhost:8080
- Start the development server: npm run dev