Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Student Management System

A modern, full-stack Student Management System using C++ as the backend and HTML/CSS/JS as the frontend.

Features

  • Authentication: Admin login (admin/admin123).
  • Dashboard: Overview of student data.
  • CRUD: Add, View, Update, Delete students.
  • Search: Real-time search by ID or Name.
  • Download: Export data as JSON or CSV.
  • Storage: JSON file-based persistence.

Project Structure

  • backend/: C++ source code (main.cpp, server.cpp, etc.) and libraries.
  • frontend/: HTML pages.
  • assets/: CSS, JS, and Images.
  • data/: students.json storage file.
  • build/: Computed executable.

Prerequisites

  • C++ Compiler: MinGW-w64 (g++) supporting C++17.
  • PowerShell: For setup script.

Setup & Installation

  1. Download Dependencies: Run the setup script to download httplib.h and json.hpp.

    ./setup.ps1
  2. Compile: Run the build script.

    build.bat
  3. Run: Execute the server.

    build\server.exe
  4. Access: Open your browser and navigate to: http://localhost:8080/index.html (or just http://localhost:8080)

Credentials

  • Username: admin
  • Password: admin123

Implementation Details

The backend uses cpp-httplib for handling HTTP requests and nlohmann/json for JSON parsing. Thread safety is ensured using mutexes for database operations.