Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ Student Management System – JavaScript Arrays CRUD

πŸ“Œ Project Description

This project is a JavaScript-based Student Management System created to practice and demonstrate CRUD operations and array manipulation using pure JavaScript.

The system manages a list of students using an array of objects, where each student contains the following properties:

  • id – unique student identifier
  • name – student’s full name
  • age – student’s age
  • gender – male or female
  • grade – the academic level/class

The project starts with three mandatory students, and additional students can only be added through the addStudent() function.


🎯 Objectives

The goal of this project is to demonstrate understanding of:

  • JavaScript arrays & objects
  • CRUD operations (Create, Read, Update, Delete)
  • Input validation (age, gender, duplicates, etc.)
  • Using array methods such as:
    • push()
    • find()
    • findIndex()
    • filter()
    • sort()
    • reduce()
  • Sorting and filtering data
  • Printing results using console.log()

🧠 Core Functionalities

  • Create: Add a new student with validation
  • Read: Get all students or a single student by ID
  • Update: Modify name, age, gender, or grade of an existing student
  • Delete: Remove a student by ID
  • Filter & Sort:
    • Get all male students
    • Sort students alphabetically by name
    • Retrieve the oldest student
    • Count students in Grade 11

⚠ Rules Followed

  • ❌ No Express
  • ❌ No external libraries
  • βœ… Pure JavaScript only
  • βœ… Arrays & objects
  • βœ… Starter array cannot be edited manually
  • βœ… All results printed with console.log()

πŸ“‚ Purpose

This project acts as a simple data management program designed for beginners to understand how arrays can be used to store and manipulate structured information in JavaScript.

Video link: https://www.youtube.com/watch?v=Q_PL9ryDlDc


About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages