An open API service indexing awesome lists of open source software.

https://github.com/chanmeng666/library-management-system

A modern, full-featured library management system built with Next.js 15 and Supabase. Features real-time book tracking, user authentication, borrowing management, and a responsive UI powered by shadcn/ui components.
https://github.com/chanmeng666/library-management-system

authentication book-management fullstack library-management nextjs react shadcn-ui supabase tailwindcss typescript web-application

Last synced: 9 months ago
JSON representation

A modern, full-featured library management system built with Next.js 15 and Supabase. Features real-time book tracking, user authentication, borrowing management, and a responsive UI powered by shadcn/ui components.

Awesome Lists containing this project

README

          


[![Project Banner](./public/images/placeholder-1.jpg)](#)

# ๐Ÿ“š Library Management System

Modern Digital Library Solution

A comprehensive web-based library management system that revolutionizes how libraries operate and how users interact with library services.

Built with Next.js 15, TypeScript, and Supabase, featuring real-time updates and intuitive user experience.

One-click **FREE** deployment for your digital library transformation.

[Live Demo][demo-link] ยท [Documentation][docs-link] ยท [Report Bug][issues-link] ยท [Request Feature][issues-link]


[![๐Ÿš€ Visit Live Site ๐Ÿš€](https://gradient-svg-generator.vercel.app/api/svg?text=%F0%9F%9A%80Visit%20Live%20Site%F0%9F%9A%80&color=000000&height=60&gradientType=radial&duration=6s&color0=ffffff&template=pride-rainbow)][demo-link]


[![][github-release-shield]][github-release-link]
[![][vercel-shield]][vercel-link]
[![][github-stars-shield]][github-stars-link]
[![][github-forks-shield]][github-forks-link]
[![][github-issues-shield]][github-issues-link]
[![][github-license-shield]][github-license-link]

**Share Repository**

[![][share-x-shield]][share-x-link]
[![][share-linkedin-shield]][share-linkedin-link]
[![][share-reddit-shield]][share-reddit-link]

๐ŸŒŸ Transforming library management for the digital age. Built for librarians, students, and book enthusiasts.

[![][github-trending-shield]][github-trending-url]

## ๐Ÿ“ธ Project Screenshots

> [!TIP]
> Experience the modern, intuitive interface designed for both librarians and library users.


Main Dashboard

User Dashboard - Complete overview of borrowed books and library statistics



Book Catalog
Book Details

Book Catalog and Detailed Book Information


๐Ÿ“ฑ More Screenshots


Authentication

Secure Authentication System



Search and Filter

Advanced Search and Filtering


**Tech Stack Showcase:**






> [!IMPORTANT]
> This project demonstrates modern full-stack development practices with Next.js 15 and Supabase. It combines server-side rendering with real-time database operations to provide a seamless library management experience. Features include user authentication, book catalog management, borrowing system, and comprehensive dashboard analytics.

๐Ÿ“‘ Table of Contents

#### TOC

- [๐Ÿ“š Library Management SystemModern Digital Library Solution](#-library-management-systemmodern-digital-library-solution)
- [๐Ÿ“ธ Project Screenshots](#-project-screenshots)
- [TOC](#toc)
- [](#)
- [๐ŸŒŸ Introduction](#-introduction)
- [โœจ Key Features](#-key-features)
- [`1` Smart Book Management](#1-smart-book-management)
- [`2` User-Centric Experience](#2-user-centric-experience)
- [`*` Additional Features](#-additional-features)
- [๐Ÿ› ๏ธ Tech Stack](#๏ธ-tech-stack)
- [๐Ÿ—๏ธ Architecture](#๏ธ-architecture)
- [System Architecture](#system-architecture)
- [Component Architecture](#component-architecture)
- [Data Flow](#data-flow)
- [Component Structure](#component-structure)
- [โšก๏ธ Performance](#๏ธ-performance)
- [Performance Metrics](#performance-metrics)
- [๐Ÿš€ Getting Started](#-getting-started)
- [Prerequisites](#prerequisites)
- [Quick Installation](#quick-installation)
- [Environment Setup](#environment-setup)
- [Development Mode](#development-mode)
- [๐Ÿ›ณ Deployment](#-deployment)
- [`A` Vercel Deployment](#a-vercel-deployment)
- [`B` Docker Deployment](#b-docker-deployment)
- [`C` Environment Variables](#c-environment-variables)
- [๐Ÿ“– Usage Guide](#-usage-guide)
- [For Library Users](#for-library-users)
- [For Administrators](#for-administrators)
- [API Reference](#api-reference)
- [๐Ÿ”Œ Integrations](#-integrations)
- [โŒจ๏ธ Development](#๏ธ-development)
- [Local Development](#local-development)
- [Adding Features](#adding-features)
- [Testing](#testing)
- [๐Ÿค Contributing](#-contributing)
- [๐Ÿ“„ License](#-license)
- [๐Ÿ‘ฅ Author](#-author)

####


## ๐ŸŒŸ Introduction

We are passionate about modernizing library management through innovative technology solutions. This comprehensive library management system bridges the gap between traditional library operations and modern digital expectations, providing both librarians and users with powerful, intuitive tools for managing and accessing library resources.

Whether you're a library administrator seeking to streamline operations or a user looking for seamless book discovery and borrowing experiences, this system delivers enterprise-grade functionality with consumer-friendly design.

> [!NOTE]
> - Node.js >= 18.0 required
> - Supabase account required for database and authentication
> - Modern web browser with JavaScript enabled
> - Email service for notifications (optional)

| [![][demo-shield-badge]][demo-link] | Experience the system firsthand with our live demo - no installation required! |
| :------------------------------------ | :--------------------------------------------------------------------------------------------- |
| [![][discord-shield-badge]][discord-link] | Join our community of developers and library professionals. |

> [!TIP]
> **โญ Star us** to receive notifications about new features and updates!

[![][image-star]][github-stars-link]

โญ Star History



## โœจ Key Features

[![][image-feat-core]][docs-feat-core]

### `1` [Smart Book Management][docs-feat-core]

Experience next-generation library catalog management with intelligent search, real-time availability tracking, and automated inventory management. Our advanced system provides comprehensive book information management with seamless user interactions.


Book Catalog

Advanced Book Catalog with Search and Filtering


Key capabilities include:
- ๐Ÿ” **Smart Search**: Advanced search by title, author, ISBN, and categories
- ๐Ÿ“š **Real-time Inventory**: Live tracking of book availability and stock levels
- ๐Ÿท๏ธ **Category Management**: Organized book classification system
- ๐Ÿ“ฑ **Responsive Design**: Seamless experience across all devices
- ๐Ÿ–ผ๏ธ **Cover Management**: Support for book cover images and placeholders

> [!TIP]
> The search system supports partial matches and fuzzy search, making it easy for users to find books even with incomplete information.

[![][back-to-top]](#readme-top)

### `2` [User-Centric Experience][docs-feat-advanced]

Revolutionary user dashboard that transforms how library patrons interact with library services. With personalized borrowing history, real-time notifications, and intuitive book management, users can efficiently manage their library experience.


User Dashboard

Comprehensive User Dashboard with Statistics and Borrowed Books


**Dashboard Features:**
- **Personal Statistics**: Track borrowing history and library engagement
- **Active Loans**: Manage currently borrowed books with due dates
- **Overdue Alerts**: Visual indicators for overdue items
- **Quick Actions**: One-click book returns and renewals

[![][back-to-top]](#readme-top)

### `*` Additional Features

Beyond the core functionality, this system includes:

- [x] ๐Ÿ” **Secure Authentication**: Email-based authentication with Supabase Auth
- [x] ๐Ÿ“Š **Analytics Dashboard**: Comprehensive statistics and reporting
- [x] ๐Ÿ”„ **Real-time Updates**: Live synchronization across all connected devices
- [x] ๐Ÿ“ฑ **Mobile Responsive**: Perfect experience on smartphones and tablets
- [x] ๐ŸŒ™ **Dark Mode**: Eye-friendly dark theme option
- [x] ๐Ÿ”” **Smart Notifications**: Toast notifications for all user actions
- [x] ๐Ÿ“ˆ **Progress Tracking**: Visual progress indicators for all operations
- [x] ๐Ÿ›ก๏ธ **Data Protection**: Secure data handling with PostgreSQL and RLS

> โœจ More features are continuously being added based on user feedback and library needs.

[![][back-to-top]](#readme-top)

## ๐Ÿ› ๏ธ Tech Stack





Next.js

Next.js 15


React

React 18


TypeScript

TypeScript 5


Supabase

Supabase


PostgreSQL

PostgreSQL


TailwindCSS

TailwindCSS



**Frontend Stack:**
- **Framework**: Next.js 15 with App Router for optimal performance
- **Language**: TypeScript for type safety and better development experience
- **Styling**: TailwindCSS with custom design system
- **UI Components**: Radix UI primitives with custom styling
- **Icons**: Lucide React for consistent iconography

**Backend & Database:**
- **Backend-as-a-Service**: Supabase for authentication and database
- **Database**: PostgreSQL with Row Level Security (RLS)
- **Real-time**: Supabase real-time subscriptions
- **Authentication**: Supabase Auth with email/password
- **Storage**: Supabase Storage for file management

**Development Tools:**
- **Build Tool**: Next.js built-in build system
- **Code Quality**: ESLint + TypeScript ESLint rules
- **Form Handling**: React Hook Form with Zod validation
- **Date Management**: date-fns for date operations
- **Deployment**: Vercel for seamless deployment

> [!TIP]
> Each technology was selected for production readiness, developer experience, and seamless integration with the overall architecture.

## ๐Ÿ—๏ธ Architecture

### System Architecture

> [!TIP]
> This architecture supports real-time updates and scalable user management, making it suitable for libraries of all sizes.

```mermaid
graph TB
subgraph "Frontend Layer"
A[Next.js App] --> B[React Components]
B --> C[Context Management]
C --> D[Supabase Client]
end

subgraph "Backend Layer"
E[Supabase API] --> F[PostgreSQL Database]
F --> G[Row Level Security]
G --> H[Real-time Engine]
end

subgraph "External Services"
I[Supabase Auth]
J[Supabase Storage]
K[Email Service]
L[Vercel Hosting]
end

D --> E
E --> I
E --> J
E --> K
A --> L

subgraph "Database Schema"
M[Users Table]
N[Books Table]
O[Loans Table]
P[Categories Table]
end

F --> M
F --> N
F --> O
F --> P
```

### Component Architecture

```mermaid
graph LR
subgraph "Pages"
P1[Home Page]
P2[Books Catalog]
P3[Book Details]
P4[User Dashboard]
P5[Auth Pages]
end

subgraph "Components"
C1[BookCard]
C2[SearchFilters]
C3[Header/Footer]
C4[UI Components]
end

subgraph "Contexts"
CT1[AuthContext]
CT2[Toast Provider]
end

subgraph "Hooks"
H1[useAuth]
H2[useToast]
end

P1 --> C1
P2 --> C1
P2 --> C2
P3 --> C4
P4 --> C4
CT1 --> H1
CT2 --> H2
```

### Data Flow

```mermaid
sequenceDiagram
participant U as User
participant F as Frontend
participant S as Supabase
participant D as Database

U->>F: Browse Books
F->>S: Query Books
S->>D: SELECT books
D->>S: Return Results
S->>F: JSON Response
F->>U: Display Books

U->>F: Borrow Book
F->>S: Create Loan
S->>D: INSERT loan
S->>D: UPDATE book availability
D->>S: Transaction Complete
S->>F: Success Response
F->>U: Show Confirmation
```

### Component Structure

```
src/
โ”œโ”€โ”€ app/ # Next.js App Router
โ”‚ โ”œโ”€โ”€ books/ # Book-related pages
โ”‚ โ”‚ โ”œโ”€โ”€ [id]/ # Dynamic book detail page
โ”‚ โ”‚ โ””โ”€โ”€ page.tsx # Book catalog page
โ”‚ โ”œโ”€โ”€ dashboard/ # User dashboard
โ”‚ โ”œโ”€โ”€ login/ # Authentication pages
โ”‚ โ”œโ”€โ”€ register/ # User registration
โ”‚ โ””โ”€โ”€ layout.tsx # Root layout
โ”œโ”€โ”€ components/ # Reusable components
โ”‚ โ”œโ”€โ”€ books/ # Book-specific components
โ”‚ โ”œโ”€โ”€ layout/ # Layout components
โ”‚ โ””โ”€โ”€ ui/ # Base UI components
โ”œโ”€โ”€ contexts/ # React contexts
โ”œโ”€โ”€ hooks/ # Custom hooks
โ”œโ”€โ”€ lib/ # Utility libraries
โ”œโ”€โ”€ types/ # TypeScript definitions
โ””โ”€โ”€ styles/ # Global styles
```

## โšก๏ธ Performance

> [!NOTE]
> Performance optimizations ensure fast loading times and smooth user experience across all devices.

### Performance Metrics

**Key Performance Indicators:**
- โšก **Lightning Fast**: < 2s initial page load
- ๐Ÿš€ **Instant Navigation**: Client-side routing with prefetching
- ๐Ÿ“ฑ **Mobile Optimized**: Perfect scores on mobile devices
- ๐Ÿ”„ **Real-time Updates**: < 100ms database synchronization
- ๐Ÿ“Š **Efficient Rendering**: Optimized React components

**Optimization Techniques:**
- ๐ŸŽฏ **Image Optimization**: Next.js Image component with lazy loading
- ๐Ÿ“ฆ **Code Splitting**: Automatic route-based code splitting
- ๐Ÿ—„๏ธ **Database Optimization**: Efficient PostgreSQL queries with indexes
- ๐Ÿ”„ **Caching Strategy**: Static generation where possible
- ๐Ÿ“ฑ **Progressive Enhancement**: Works without JavaScript

## ๐Ÿš€ Getting Started

### Prerequisites

> [!IMPORTANT]
> Ensure you have the following installed and configured:

- **Node.js** 18.0+ ([Download](https://nodejs.org/))
- **npm/yarn/pnpm** package manager
- **Git** ([Download](https://git-scm.com/))
- **Supabase Account** ([Sign up](https://supabase.com/))

### Quick Installation

**1. Clone Repository**

```bash
git clone https://github.com/ChanMeng666/library-management-system.git
cd library-management-system
```

**2. Install Dependencies**

```bash
# Using npm
npm install

# Using yarn
yarn install

# Using pnpm (recommended)
pnpm install
```

**3. Environment Setup**

```bash
# Copy environment template
cp .env.example .env.local

# Edit environment variables
nano .env.local
```

**4. Supabase Setup**

1. Create a new project on [Supabase](https://supabase.com/)
2. Get your project URL and anon key
3. Set up your database schema (see database setup guide)

**5. Start Development**

```bash
npm run dev
```

๐ŸŽ‰ **Success!** Open [http://localhost:3000](http://localhost:3000) to view the application.

### Environment Setup

Create `.env.local` file with the following variables:

```bash
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your-supabase-project-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key

# Optional: Additional Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000
```

> [!TIP]
> Get your Supabase credentials from your project settings in the Supabase dashboard.

### Development Mode

```bash
# Start development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

# Run linting
npm run lint
```

## ๐Ÿ›ณ Deployment

> [!IMPORTANT]
> The application is optimized for deployment on Vercel, but can be deployed on any platform that supports Next.js.

### `A` Vercel Deployment

**One-Click Deploy:**

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FChanMeng666%2Flibrary-management-system)

**Manual Deployment:**

```bash
# Install Vercel CLI
npm i -g vercel

# Deploy
vercel --prod
```

### `B` Docker Deployment

```bash
# Build Docker image
docker build -t library-management-system .

# Run container
docker run -p 3000:3000 library-management-system
```

### `C` Environment Variables

> [!WARNING]
> Never commit sensitive environment variables to version control. Use Vercel's environment variables settings for production.

| Variable | Description | Required | Example |
|----------|-------------|----------|---------|
| `NEXT_PUBLIC_SUPABASE_URL` | Supabase project URL | โœ… | `https://xxx.supabase.co` |
| `NEXT_PUBLIC_SUPABASE_ANON_KEY` | Supabase anonymous key | โœ… | `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...` |
| `NEXT_PUBLIC_APP_URL` | Application URL | ๐Ÿ”ถ | `https://your-app.vercel.app` |

> [!NOTE]
> โœ… Required, ๐Ÿ”ถ Optional

## ๐Ÿ“– Usage Guide

### For Library Users

**Getting Started:**

1. **Create Account** - Register with your email address
2. **Browse Books** - Explore the book catalog with advanced search
3. **Borrow Books** - Click "Borrow" on available books
4. **Manage Loans** - Track your borrowed books in the dashboard
5. **Return Books** - Use the dashboard to return books

**Key Features:**
- ๐Ÿ“š **Book Discovery**: Search by title, author, or ISBN
- ๐Ÿ” **Advanced Filtering**: Filter by categories and availability
- ๐Ÿ“Š **Personal Dashboard**: View borrowed books and statistics
- ๐Ÿ”” **Due Date Tracking**: Never miss a return date
- ๐Ÿ“ฑ **Mobile Access**: Use on any device, anywhere

### For Administrators

**System Management:**
- ๐Ÿ‘ฅ **User Management**: Monitor user accounts and activities
- ๐Ÿ“š **Inventory Control**: Track book availability and status
- ๐Ÿ“ˆ **Analytics**: View system usage and statistics
- ๐Ÿ”ง **Configuration**: Manage system settings and preferences

### API Reference

> [!TIP]
> The system uses Supabase's auto-generated API with Row Level Security for data protection.

**Core Database Tables:**
- `books` - Book information and inventory
- `users` - User profiles and authentication
- `loans` - Borrowing records and transactions
- `categories` - Book classification system

**Key Operations:**
```javascript
// Search books
const { data: books } = await supabase
.from('books')
.select('*')
.ilike('title', `%${searchTerm}%`)

// Borrow book
const { data: loan } = await supabase
.from('loans')
.insert([{
user_id: userId,
book_id: bookId,
due_date: dueDate
}])
```

## ๐Ÿ”Œ Integrations

The system integrates seamlessly with modern web services:

| Service | Purpose | Status | Documentation |
|---------|---------|--------|---------------|
| **Supabase** | Database & Auth | โœ… Active | [Setup Guide](docs/supabase.md) |
| **Vercel** | Hosting & Deployment | โœ… Active | [Deploy Guide](docs/vercel.md) |
| **Radix UI** | Component Library | โœ… Active | [Component Docs](docs/components.md) |
| **TailwindCSS** | Styling Framework | โœ… Active | [Style Guide](docs/styles.md) |

## โŒจ๏ธ Development

### Local Development

**Setup Development Environment:**

```bash
# Clone and install
git clone https://github.com/ChanMeng666/library-management-system.git
cd library-management-system
npm install

# Set up environment
cp .env.example .env.local
# Edit .env.local with your Supabase credentials

# Start development
npm run dev
```

**Development Scripts:**

```bash
# Development
npm run dev # Start dev server
npm run build # Build for production
npm run start # Start production server

# Code Quality
npm run lint # Run ESLint
npm run type-check # TypeScript check

# Database (if using local Supabase)
npx supabase start # Start local Supabase
npx supabase stop # Stop local Supabase
```

### Adding Features

> [!TIP]
> Follow the established patterns when adding new features to maintain code consistency.

**Feature Development Workflow:**

1. **Create Feature Branch**: `git checkout -b feature/new-feature`
2. **Develop Component**: Add components in appropriate directories
3. **Add Types**: Update TypeScript definitions
4. **Test Functionality**: Ensure all features work correctly
5. **Update Documentation**: Add relevant documentation
6. **Submit Pull Request**: Follow PR template

### Testing

**Manual Testing Checklist:**
- [ ] User authentication (sign up, sign in, sign out)
- [ ] Book browsing and search functionality
- [ ] Book borrowing and returning process
- [ ] Dashboard statistics and display
- [ ] Responsive design on mobile devices
- [ ] Error handling and edge cases

## ๐Ÿค Contributing

We welcome contributions to improve the Library Management System! Here's how you can help:

**Development Process:**

1. **Fork the Repository**
2. **Create Feature Branch** (`git checkout -b feature/AmazingFeature`)
3. **Commit Changes** (`git commit -m 'Add some AmazingFeature'`)
4. **Push to Branch** (`git push origin feature/AmazingFeature`)
5. **Open Pull Request**

**Contribution Guidelines:**
- Follow TypeScript best practices
- Maintain consistent code style
- Add comments for complex logic
- Test your changes thoroughly
- Update documentation as needed

**Types of Contributions:**
- ๐Ÿ› **Bug Reports**: Help us identify and fix issues
- ๐Ÿ’ก **Feature Requests**: Suggest new functionality
- ๐Ÿ“š **Documentation**: Improve our documentation
- ๐Ÿ”ง **Code Improvements**: Optimize existing code

[![][pr-welcome-shield]][pr-welcome-link]











## ๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

**Open Source Benefits:**
- โœ… Commercial use allowed
- โœ… Modification allowed
- โœ… Distribution allowed
- โœ… Private use allowed

## ๐Ÿ‘ฅ Author






Chan Meng


Chan Meng



Creator & Lead Developer



**Chan Meng**
- LinkedIn: [chanmeng666](https://www.linkedin.com/in/chanmeng666/)
- GitHub: [ChanMeng666](https://github.com/ChanMeng666)
- Email: [chanmeng.dev@gmail.com](mailto:chanmeng.dev@gmail.com)
- Website: [chanmeng.live](https://2d-portfolio-eta.vercel.app/)

---


๐Ÿš€ Transforming Library Management for the Digital Age ๐ŸŒŸ


Empowering libraries and readers worldwide


โญ **Star us on GitHub** โ€ข ๐Ÿ“– **Read the Documentation** โ€ข ๐Ÿ› **Report Issues** โ€ข ๐Ÿ’ก **Request Features** โ€ข ๐Ÿค **Contribute**



**Made with โค๏ธ for the library community**

GitHub stars
GitHub forks
GitHub watchers

---

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square

[demo-link]: https://library-management-system-chanmeng666.vercel.app
[docs-link]: https://github.com/ChanMeng666/library-management-system#readme
[issues-link]: https://github.com/ChanMeng666/library-management-system/issues

[github-stars-link]: https://github.com/ChanMeng666/library-management-system/stargazers
[github-forks-link]: https://github.com/ChanMeng666/library-management-system/forks
[github-issues-link]: https://github.com/ChanMeng666/library-management-system/issues
[github-release-link]: https://github.com/ChanMeng666/library-management-system/releases
[github-license-link]: https://github.com/ChanMeng666/library-management-system/blob/main/LICENSE
[pr-welcome-link]: https://github.com/ChanMeng666/library-management-system/pulls

[discord-link]: https://discord.gg/library-management
[vercel-link]: https://vercel.com

[docs-feat-core]: #1-smart-book-management
[docs-feat-advanced]: #2-user-centric-experience

[github-release-shield]: https://img.shields.io/github/v/release/ChanMeng666/library-management-system?color=369eff&labelColor=black&logo=github&style=flat-square
[vercel-shield]: https://img.shields.io/badge/vercel-online-55b467?labelColor=black&logo=vercel&style=flat-square
[discord-shield]: https://img.shields.io/discord/123456789?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
[github-stars-shield]: https://img.shields.io/github/stars/ChanMeng666/library-management-system?color=ffcb47&labelColor=black&style=flat-square
[github-forks-shield]: https://img.shields.io/github/forks/ChanMeng666/library-management-system?color=8ae8ff&labelColor=black&style=flat-square
[github-issues-shield]: https://img.shields.io/github/issues/ChanMeng666/library-management-system?color=ff80eb&labelColor=black&style=flat-square
[github-license-shield]: https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square
[github-trending-shield]: https://trendshift.io/api/badge/repositories/123456
[pr-welcome-shield]: https://img.shields.io/badge/๐Ÿค_PRs_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge

[demo-shield-badge]: https://img.shields.io/badge/TRY%20DEMO-ONLINE-55b467?labelColor=black&logo=vercel&style=for-the-badge
[discord-shield-badge]: https://img.shields.io/discord/123456789?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge

[share-x-link]: https://x.com/intent/tweet?hashtags=opensource,library,nextjs&text=Check%20out%20this%20amazing%20Library%20Management%20System&url=https%3A%2F%2Fgithub.com%2FChanMeng666%2Flibrary-management-system
[share-linkedin-link]: https://linkedin.com/sharing/share-offsite/?url=https://github.com/ChanMeng666/library-management-system
[share-reddit-link]: https://www.reddit.com/submit?title=Modern%20Library%20Management%20System&url=https%3A%2F%2Fgithub.com%2FChanMeng666%2Flibrary-management-system

[share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black&logo=x&logoColor=white&style=flat-square
[share-linkedin-shield]: https://img.shields.io/badge/-share%20on%20linkedin-black?labelColor=black&logo=linkedin&logoColor=white&style=flat-square
[share-reddit-shield]: https://img.shields.io/badge/-share%20on%20reddit-black?labelColor=black&logo=reddit&logoColor=white&style=flat-square

[image-star]: https://via.placeholder.com/800x200/FFD700/000000?text=Star+Us+on+GitHub
[image-feat-core]: https://via.placeholder.com/800x400/4CAF50/FFFFFF?text=Smart+Book+Management

[github-trending-url]: https://trendshift.io/repositories/123456