Skip to content

MudasirNaeem1/Coaching-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ“ Coaching Management System

Database Language Project DB Normalization

๐Ÿš€ A Complete Educational Management Solution

Streamlining coaching center operations with modern database architecture

Developer: MUDASIR NAEEM (mudasirnaeem000@gmail.com)


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Project Overview

The Coaching Management System is a comprehensive educational management platform designed to streamline operations in coaching centers and educational institutions. Built with modern database principles and powered by Supabase, this system manages students, teachers, courses, attendance, results, and administrative tasks efficiently.

๐Ÿ’ก Built with Database Normalization in Mind - Our system follows proper 3NF (Third Normal Form) principles for optimal data integrity and performance.


โœจ Key Features

๐ŸŽ“ Student Management ๐Ÿ‘จโ€๐Ÿซ Teacher Management ๐Ÿ“š Course Management
Student Registration Teacher Profiles Course Creation
Contact Information Subject Assignment Course Outlines
Class Enrollment Teaching Schedules Exercise Tracking
๐Ÿ“… Attendance System ๐Ÿ“Š Results Management ๐Ÿ”” Notifications
Daily Attendance Marks Recording Email Notifications
Attendance Reports Grade Calculations System Alerts
Status Tracking Performance Analytics Updates & Reminders

Our system implements a 3NF (Third Normal Form) database structure ensuring:

graph TD
    A[Raw Data] --> B[1NF]
    B --> C[2NF]
    C --> D[3NF]
    
    style A fill:#ff6b6b
    style B fill:#ffd93d
    style C fill:#6bcf7f
    style D fill:#4ecdc4
Loading
  • 1NF: Atomic Values

  • 2NF: Remove Partial Dependencies

  • 3NF: Remove Transitive Dependencies

๐ŸŽฏ Normalization Benefits:

  • ๐Ÿ”’ Data Integrity: Eliminates redundancy and inconsistencies
  • โšก Performance: Optimized queries and faster data retrieval
  • ๐Ÿ”ง Maintainability: Easy updates and modifications
  • ๐Ÿ“ˆ Scalability: Efficient handling of growing data

๐Ÿ“Š Database Schema

Core Tables Structure

๐Ÿ‘ค User Management Tables

Users Table

Column Type Description
user_id (PK) VARCHAR Primary identifier
user_name VARCHAR Full name
user_type VARCHAR Student/Teacher/Admin
password VARCHAR Encrypted password

Students Table

Column Type Description
student_id (PK) VARCHAR Student identifier
student_name VARCHAR Student full name
father_name VARCHAR Father's name
contact_1 VARCHAR Primary contact
contact_2 VARCHAR Secondary contact
enrolled_class VARCHAR Class enrolled in
course_id (FK) VARCHAR Associated course
๐Ÿ‘จโ€๐Ÿซ Academic Tables

Teachers Table

Column Type Description
teacher_id (PK) VARCHAR Teacher identifier
teacher_name VARCHAR Teacher full name
teaching_subject VARCHAR Subject expertise

Courses Table

Column Type Description
course_id (PK) VARCHAR Course identifier
course_name VARCHAR Course title
teacher_id (FK) VARCHAR Assigned teacher
student_id (FK) VARCHAR Enrolled student
๐Ÿ“… Operational Tables

Attendance Table

Column Type Description
attendance_id (PK) VARCHAR Attendance record ID
attendance_date DATE Date of attendance
attendance_day VARCHAR Day of week
attendance_status VARCHAR Present/Absent
student_id (FK) VARCHAR Student reference

Results Table

Column Type Description
result_id (PK) VARCHAR Result identifier
subject_name VARCHAR Subject name
class VARCHAR Class level
marks VARCHAR Obtained marks
percentage DECIMAL Result percentage
course_id (FK) VARCHAR Course reference

๐Ÿ”„ Normalization Journey

๐Ÿ“Š Transformation Process

๐Ÿ”ด Raw Data (Unnormalized)
     โ†“
๐ŸŸก First Normal Form (1NF)
   โ€ข Atomic values only
   โ€ข No repeating groups
     โ†“
๐ŸŸข Second Normal Form (2NF)
   โ€ข Remove partial dependencies
   โ€ข Separate user and scheduling data
     โ†“
๐Ÿ”ต Third Normal Form (3NF)
   โ€ข Remove transitive dependencies
   โ€ข Create specialized tables

๐Ÿ“ˆ Before vs After Comparison

Aspect Before Normalization After 3NF
Tables 1 Large Table 10 Specialized Tables
Data Redundancy High Eliminated
Data Integrity Poor Excellent
Query Performance Slow Optimized
Maintenance Difficult Easy

๐Ÿ› ๏ธ Technology Stack

Database Backend Frontend Tools
Supabase Node.js React Git
PostgreSQL Express.js JavaScript GitHub

๐Ÿ“ฑ User Roles

๐Ÿ” Role-Based Access Control

Role Permissions Key Features
๐Ÿ‘จโ€๐ŸŽ“ Student View Profile, Grades, Attendance โ€ข Check Results
โ€ข View Timetable
โ€ข Access Notifications
๐Ÿ‘จโ€๐Ÿซ Teacher Manage Classes, Record Attendance โ€ข Mark Attendance
โ€ข Input Grades
โ€ข Manage Courses
๐Ÿ‘จโ€๐Ÿ’ผ Admin Full System Access โ€ข User Management
โ€ข System Configuration
โ€ข Reports Generation

๐Ÿš€ Getting Started

๐Ÿ“‹ Prerequisites

# Required Software
- Node.js (v14+)
- npm or yarn
- Supabase Account
- Git
  • This screenshot displays the Supabase setup created for the Coaching Management System project , showcasing all the tables that have been designed and implemented within the database.

Database-Screenshot


๐ŸŽจ Database Design Highlights

๐Ÿ”— Entity Relationships

erDiagram
    USERS ||--o{ STUDENTS : "user_id"
    USERS ||--o{ TEACHERS : "user_id"
    TEACHERS ||--o{ COURSES : "teacher_id"
    STUDENTS ||--o{ ATTENDANCE : "student_id"
    STUDENTS ||--o{ RESULTS : "student_id"
    COURSES ||--o{ RESULTS : "course_id"
    USERS ||--o{ NOTIFICATIONS : "user_id"
Loading

๐Ÿ“Š Data Flow Architecture

User Authentication โ†’ Role Verification โ†’ Data Access โ†’ Business Logic โ†’ Database Operations

๐ŸŽฏ Future Enhancements

๐Ÿ”ฎ Planned Features ๐Ÿš€ Technical Upgrades
๐Ÿ“ฑ Mobile App โ˜๏ธ Cloud Deployment
๐Ÿ’ฌ Chat System ๐Ÿ” Advanced Analytics
๐Ÿ“Š Advanced Reports ๐Ÿ” Enhanced Security
๐Ÿ’ณ Payment Integration โšก Performance Optimization

๐ŸŒŸ Star this project if you found it helpful!

Made with โค๏ธ for Educational Excellence

Building the future of coaching management, one database at a time.


Have suggestions? ๐Ÿ’ญ Reach out! Visitors

About

A comprehensive Coaching Management System built with Supabase database, featuring complete student enrollment, teacher management, course administration, and attendance tracking. The system implements Third Normal Form (3NF) database normalization for optimal data integrity and performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors