⚙️ Zero-STL C++17
Systems & Backend
SmartLibrary
A C++17 library management system built on four custom-implemented core data structures with zero STL containers, a CLI, and an optional loopback web visualizer.
Data Structures4 Custom
Test Assertions235 / 235
STL StorageZero

Quick Installation / CloneTerminal
git clone https://github.com/sifatmusfique/SmartLibrary.git
Engineering Background & Purpose
Engineered in C++17 without relying on STL containers or <algorithm> substitutes for core storage, SmartLibrary implements four foundational data structures from scratch: a bounded raw-array BookCatalogue with dense left-shift deletion, a singly linked HistoryList with monotonic 64-bit transaction IDs and failure-atomic pre-allocation, a LIFO ReturnStack, and a circular FIFO RequestQueue. Paired with a unified LibraryManager engine, interactive ConsoleUI, 235 passing test assertions across 5 CTest suites, and a loopback HTTP/JSON adapter powering a live HTML/CSS/JS visualizer.
System Architecture & Workflow
01. Interface Layer
Routes commands from ConsoleUI or the browser dashboard via HttpServer & JsonApiAdapter
02. Manager Arbitration
LibraryManager validates IDs and pre-allocates history nodes for atomic operations
03. Custom Data Structures
Manages state across BookCatalogue, HistoryList, ReturnStack, and circular RequestQueue
04. Live Telemetry & Tests
Streams state snapshots to the web visualizer and verifies invariants via CTest
Core Technologies & Protocols
C++17CMakeData StructuresHTTP/JSONJavaScript
Key Capabilities & Design Features
- Bounded BookCatalogue Raw Array with Left-Shift Deletion
- Singly Linked HistoryList with 64-bit Transaction IDs
- LIFO ReturnStack & Circular FIFO RequestQueue
- Loopback C++ HTTP/JSON Server & Live Web Visualizer
- 5 CTest Suites Covering T01–T38 (235/235 Passing)