Home/Projects/Library
Shipped
Web Development

Library

A library management app built to practice JavaScript OOP patterns, form validation, and local storage — demonstrating clean CRUD implementation and state management without a backend.

recruiter perspective

Book tracking app with OOP patterns and localStorage persistence

  • ›CRUD operations for book management with form validation
  • ›localStorage persistence with JSON serialization
  • ›Vanilla JavaScript OOP with Book class and Library singleton
View live
Hiring Summary

A book tracking app with CRUD operations, form validation, and localStorage persistence. Built in vanilla JavaScript as an OOP and state management fundamentals exercise.

Build a book tracking app with CRUD operations, form validation, and persistent state — a standard JavaScript OOP and local storage exercise.

Challenges Addressed
  • No external libraries — vanilla JS only
  • State must persist across page reloads via localStorage
  • Form validation with user-friendly error messages
◆LibraryWEB DEVELOPMENT/visual-placeholder

Vanilla JavaScript with a Book class, a Library singleton managing the collection, and DOM rendering functions. localStorage serialization via JSON.stringify/parse on every mutation.

Stack
JavaScriptHTMLCSS
Decision
Book class with validation in the constructor
Enforces data integrity on creation and provides a natural place for methods like toggleRead() without scattering state mutation across the codebase.
Tradeoff
localStorage vs. IndexedDB for persistence
Chose: localStorage with JSON serialization
For a small book collection, localStorage is sufficient and far simpler. Switching to IndexedDB would be straightforward if the collection grew to thousands of entries.
01Search and filter by title, author, or read status
02Star rating with visual display
03Export to CSV or Goodreads-compatible format