diff --git a/README.md b/README.md
index 8492eb2..23258af 100644
--- a/README.md
+++ b/README.md
@@ -1,76 +1,210 @@
-# Contribution Guidelines
-We are thrilled to welcome contributors to **Leadlly**! Below are the guidelines to help you contribute efficiently.
-
-## 📚 Getting Started
-
-### Prerequisites:
-
-- **Node.js** (>= 14.x.x)
-- **npm** or **yarn** (package manager)
-
-### Installation:
-
-1. **Fork the Repository:**
- - Click the "Fork" button in the top-right corner of the page to create your own copy of the repository.
-
-2. **Clone the Forked Repository:**
- ```bash
- git clone https://github.com/{your-username}/leadlly.admin.web.git
- cd leadlly.admin.web
- ```
-
-3. **Install dependencies**:
- ```bash
- npm install
- ```
-
-4. **Run the application**:
- ```bash
- npm run dev
- ```
-
-5. **Access the application**:
- Open [http://localhost:3000](http://localhost:3000) in your browser.
-
-## 🎯 How to Contribute
-
-We welcome contributions! If you'd like to help improve the Leadlly Mentor Platform, follow these steps:
-
-1. Fork the repository.
-2. Create a new branch for your feature or bugfix.
-3. Make your changes.
-4. Open a pull request and describe your changes.
-
-## 🐛 Reporting Issues
-
-If you encounter any issues while using the platform, please feel free to open an issue on the repository. Provide as much detail as possible to help us address the problem quickly.
-
-## 🛡️ Security
-
-If you find any security vulnerabilities, please report them privately to [business@leadlly.in](mailto:business@leadlly.in). We take security issues seriously and will address them promptly.
-
-## 📄 License
-
-This project is licensed under the MIT License. See the [`LICENSE`](./LICENSE) file for more details.
-
-## 🎉 Hacktoberfest Participation:
-
-- Contributions should be meaningful and address an issue or feature request.
-- Avoid creating spam or low-quality pull requests, as these will not be accepted.
-- Tag your pull requests with "Hacktoberfest" to ensure they count toward Hacktoberfest.
-
-## 📝 Code Of Conduct:
-
-- **Be Respectful**: Always be courteous and respectful when interacting with other contributors and maintainers.
-- **Collaborate**: Help others by reviewing code, suggesting improvements, or answering questions.
-- **Keep Learning**: Open source is a great way to learn and improve your skills, so ask questions and engage with the community.
-- **Contribution Process**:
- - To indicate you're working on an issue, comment "I am working on this issue." Our team will verify your activity. If there is no response, the issue may be reassigned.
- - Please do not claim an issue that is already assigned to someone else.
-
-## 📞 Contact
-
-For any further questions or support, reach out to us at:
-- **Email**: [support@leadlly.in](mailto:support@leadlly.in)
-- **Website**: [Leadlly.in](https://leadlly.in)
+# Leadlly Admin Web
+
+## Overview
+Leadlly Admin Web is a comprehensive administration platform for educational institutions. It provides tools for managing students, teachers, batches, and courses with an intuitive interface designed for educational administrators.
+
+## Features
+
+### Dashboard
+Get a quick overview of your institution's key metrics:
+- Total students and teachers
+- Active courses and classes
+- Performance metrics and attendance rates
+
+
+
+### Course Management
+- Create, edit, and delete courses
+- Assign teachers to each course
+- View course schedules and attendance
+
+
+
+### Student Management
+- View and manage all student batches
+- Filter students by standard, subject, and teacher
+- Track student attendance and performance
+- Detailed student profiles
+
+
+
+### Teacher Management
+- Comprehensive teacher profiles
+- Track teacher performance and satisfaction rates
+- View classes taught by each teacher
+- Monitor student attendance in teacher's classes
+
+
+
+## Technology Stack
+- **Frontend**: Next.js, React, TypeScript, Tailwind CSS
+- **State Management**: React Hooks
+- **API**: Next.js API Routes
+- **Styling**: Tailwind CSS for responsive design
+
+## API Implementation
+The application uses Next.js API Routes to create serverless API endpoints that handle data operations. These API routes are located in the `src/app/api` directory and follow RESTful principles.
+
+### API Architecture
+Leadlly Admin Web implements a modern API architecture using Next.js App Router's route handlers, which provide:
+- **Serverless Functions**: Each API endpoint runs as a serverless function
+- **TypeScript Integration**: Full type safety for request and response handling
+- **Route Parameters**: Dynamic routing with path and query parameter support
+- **Error Handling**: Standardized error responses
+
+### Available API Endpoints
+
+#### Batches API
+- **GET /api/batches**
+ - Description: Retrieves a list of all batches grouped by standard
+ - Query Parameters:
+ - `standard`: Filter batches by standard name (e.g., "11th standard")
+ - `subject`: Filter batches by subject name (e.g., "Physics")
+ - `teacher`: Filter batches by teacher name (e.g., "Dr. Sarah Wilson")
+ - Response: JSON object containing filtered batches grouped by standard
+
+**Example request:**
+```
+GET /api/batches?standard=11th&subject=Physics
+```
+
+**Example response:**
+```json
+{
+ "standards": [
+ {
+ "name": "11th standard",
+ "batches": [
+ {
+ "id": "11-omega-1",
+ "name": "Omega",
+ "standard": "11th Class",
+ "subjects": ["Chemistry", "Physics", "Biology"],
+ "totalStudents": 120,
+ "maxStudents": 180,
+ "teacher": "Dr. Sarah Wilson"
+ }
+ // More batches...
+ ]
+ }
+ ]
+}
+```
+
+### Implementation Details
+The API routes are implemented using Next.js App Router's route handlers. Each API endpoint is defined in a route.ts file within the corresponding directory structure.
+
+**Request Handling (Example from `src/app/api/batches/route.ts`):**
+```typescript
+export async function GET(request: NextRequest) {
+ try {
+ // Get query parameters for filtering
+ const searchParams = request.nextUrl.searchParams;
+ const standard = searchParams.get('standard');
+ const subject = searchParams.get('subject');
+ const teacher = searchParams.get('teacher');
+
+ // Process and filter data
+ // ...
+
+ return NextResponse.json(filteredData, { status: 200 });
+ } catch (error) {
+ console.error('Error fetching batches:', error);
+ return NextResponse.json(
+ { error: 'Failed to fetch batches' },
+ { status: 500 }
+ );
+ }
+}
+```
+
+### Data Handling
+Currently, the application uses mock data for demonstration purposes. In a production environment, these API routes would connect to a database or external API service.
+
+**Mock data example:**
+```typescript
+const batchesData = {
+ standards: [
+ {
+ name: "11th standard",
+ batches: [
+ // Batch data...
+ ]
+ }
+ ]
+};
+```
+
+### Error Handling
+All API routes implement consistent error handling to ensure robust operation:
+
+```typescript
+try {
+ // API logic
+} catch (error) {
+ console.error('Error:', error);
+ return NextResponse.json(
+ { error: 'Error message' },
+ { status: 500 }
+ );
+}
+```
+
+### Future API Enhancements
+Planned API enhancements include:
+- Authentication and authorization
+- CRUD operations for all resources (students, teachers, courses)
+- Pagination for large data sets
+- Advanced filtering and search capabilities
+- Real-time updates using webhooks or WebSockets
+
+## Getting Started
+
+### Prerequisites
+- Node.js (v14 or later)
+- npm or yarn
+
+### Installation
+Clone the repository:
+```bash
+git clone https://github.com/your-username/leadlly.admin.web.git
+cd leadlly.admin.web
+```
+
+Install dependencies:
+```bash
+npm install
+```
+
+Run the development server:
+```bash
+npm run dev
+```
+
+Open `URL_ADDRESS:3000` in your browser
+
+## Project Structure
+```
+leadlly.admin.web/
+├── public/ # Static assets
+├── src/
+│ ├── app/ # Next.js App Router
+│ │ ├── (root)/ # Main application routes
+│ │ │ ├── (dashboard)/ # Dashboard components
+│ │ │ ├── batches/ # Batch management
+│ │ │ └── teacher/ # Teacher management
+│ │ └── api/ # API routes
+│ ├── components/ # Shared components
+│ └── styles/ # Global styles
+├── Updated Images/ # Project screenshots
+└── README.md # Project documentation
+```
+
+This update adds a comprehensive API section to your README.md that explains:
+1. The API architecture using Next.js API Routes
+2. Available endpoints with examples
+3. Implementation details including request handling, data handling, and error handling
+4. Future API enhancement plans
+
+The documentation is based on the existing implementation in your `src/app/api/batches/route.ts` file, which demonstrates how the API routes are structured in your project.
diff --git a/Updated Images/List_students.png b/Updated Images/List_students.png
new file mode 100644
index 0000000..4724f24
Binary files /dev/null and b/Updated Images/List_students.png differ
diff --git a/Updated Images/batches.png b/Updated Images/batches.png
new file mode 100644
index 0000000..e410433
Binary files /dev/null and b/Updated Images/batches.png differ
diff --git a/Updated Images/dashboard.png b/Updated Images/dashboard.png
new file mode 100644
index 0000000..2b6fda6
Binary files /dev/null and b/Updated Images/dashboard.png differ
diff --git a/Updated Images/teacher_profile.png b/Updated Images/teacher_profile.png
new file mode 100644
index 0000000..8ed8dee
Binary files /dev/null and b/Updated Images/teacher_profile.png differ
diff --git a/src/app/(root)/(dashboard)/_components/InstituteOverview.tsx b/src/app/(root)/(dashboard)/_components/InstituteOverview.tsx
new file mode 100644
index 0000000..1e2023e
--- /dev/null
+++ b/src/app/(root)/(dashboard)/_components/InstituteOverview.tsx
@@ -0,0 +1,68 @@
+import React from 'react';
+import Image from 'next/image';
+
+interface InstituteOverviewProps {
+ name: string;
+ establishedYear: number;
+ instituteCode: string;
+ address: string;
+ contact: string;
+ email: string;
+}
+
+const InstituteOverview = ({
+ name,
+ establishedYear,
+ instituteCode,
+ address,
+ contact,
+ email,
+}: InstituteOverviewProps) => {
+ return (
+
+
+
+
+
+
+
+
Established in {establishedYear}
+
{name}
+
Institute Code: {instituteCode}
+
+
+
+
+
+ {address}
+
+
+
+
+ {contact}
+
+
+
+
+ {email}
+
+
+
+
+ );
+};
+
+export default InstituteOverview;
\ No newline at end of file
diff --git a/src/app/(root)/(dashboard)/_components/StudentsOverview.tsx b/src/app/(root)/(dashboard)/_components/StudentsOverview.tsx
new file mode 100644
index 0000000..6058d85
--- /dev/null
+++ b/src/app/(root)/(dashboard)/_components/StudentsOverview.tsx
@@ -0,0 +1,74 @@
+import React from 'react';
+import Link from 'next/link';
+
+interface StudentsOverviewProps {
+ totalStudents: number;
+ activeCourses: number;
+ averageAttendance: number;
+ performanceIndex: number;
+}
+
+const StudentsOverview = ({
+ totalStudents,
+ activeCourses,
+ averageAttendance,
+ performanceIndex,
+}: StudentsOverviewProps) => {
+ return (
+
+
Students Overview
+
+
+
+
Total Students
+
+
+ {totalStudents}
+
+
+
+
+
Active Courses
+
+
+ {activeCourses}
+
+
+
+
+
Average Attendance
+
+
+ {averageAttendance}%
+
+
+
+
+
Performance Index
+
+
+ {performanceIndex}/10
+
+
+
+
+
+
+ View Students
+
+
+ );
+};
+
+export default StudentsOverview;
\ No newline at end of file
diff --git a/src/app/(root)/(dashboard)/_components/TeachersOverview.tsx b/src/app/(root)/(dashboard)/_components/TeachersOverview.tsx
new file mode 100644
index 0000000..0b510aa
--- /dev/null
+++ b/src/app/(root)/(dashboard)/_components/TeachersOverview.tsx
@@ -0,0 +1,75 @@
+import React from 'react';
+import Link from 'next/link';
+
+interface TeachersOverviewProps {
+ totalTeachers: number;
+ departments: number;
+ activeClasses: number;
+ satisfactionRate: number;
+}
+
+const TeachersOverview = ({
+ totalTeachers,
+ departments,
+ activeClasses,
+ satisfactionRate,
+}: TeachersOverviewProps) => {
+ return (
+
+
Teachers Overview
+
+
+
+
Total Teachers
+
+
+ {totalTeachers}
+
+
+
+
+
Departments
+
+
+ {departments}
+
+
+
+
+
Active Classes
+
+
+ {activeClasses}
+
+
+
+
+
Satisfaction Rate
+
+
+ {satisfactionRate}/10
+
+
+
+
+ {/* Update the href from "/teacher" to "/teachers" */}
+
+
+ View Teachers
+
+
+ );
+};
+
+export default TeachersOverview;
\ No newline at end of file
diff --git a/src/app/(root)/(dashboard)/_components/index.ts b/src/app/(root)/(dashboard)/_components/index.ts
index 28d4d61..63bbbca 100644
--- a/src/app/(root)/(dashboard)/_components/index.ts
+++ b/src/app/(root)/(dashboard)/_components/index.ts
@@ -1 +1,4 @@
-// here we can add all the components that we want to use in the dashboard (you can rename this file to whatever you want)
\ No newline at end of file
+// here we can add all the components that we want to use in the dashboard (you can rename this file to whatever you want)
+export { default as StudentsOverview } from './StudentsOverview';
+export { default as TeachersOverview } from './TeachersOverview';
+export { default as InstituteOverview } from './InstituteOverview';
\ No newline at end of file
diff --git a/src/app/(root)/(dashboard)/page.tsx b/src/app/(root)/(dashboard)/page.tsx
index 75a3155..0e2b61b 100644
--- a/src/app/(root)/(dashboard)/page.tsx
+++ b/src/app/(root)/(dashboard)/page.tsx
@@ -1,7 +1,67 @@
import Image from "next/image";
+import React from "react";
+import { StudentsOverview, TeachersOverview, InstituteOverview } from "./_components";
-export default function Home() {
+// Mock data for the dashboard
+const dashboardData = {
+ institute: {
+ name: "Leadlly Academy",
+ establishedYear: 2010,
+ instituteCode: "LA-2010",
+ address: "123 Education Street, Knowledge City",
+ contact: "+1 (555) 123-4567",
+ email: "info@leadlly-academy.com"
+ },
+ students: {
+ totalStudents: 1250,
+ activeCourses: 42,
+ averageAttendance: 92,
+ performanceIndex: 8.7
+ },
+ teachers: {
+ totalTeachers: 68,
+ departments: 12,
+ activeClasses: 86,
+ satisfactionRate: 9.2
+ }
+};
+
+export default function Dashboard() {
return (
- <>Home>
+