Skip to content

Rendy752/CMS-Perpustakaan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š LibraryApp - Library Management System

LibraryApp Banner

A powerful CMS for managing library books and categories with CRUD functionality.

LibraryApp is a modern Content Management System (CMS) built to streamline library operations. It offers role-based access for administrators and users to perform CRUD (Create, Read, Update, Delete) operations on books and categories. With an intuitive interface and robust features, LibraryApp is perfect for managing digital or physical library collections.


โœจ Features

1. ๐Ÿ” User Authentication

  • Login & Registration: Secure login and registration with validation and Toastr notifications. Admins can register using a special token (admin123).
  • Profile Management: Update user details like name with real-time feedback.
  • Role-Based Access:
    • Admins: Full access to all books, categories, and user statistics.
    • Users: Manage only their own books and profile.
Feature Screenshot
Login Login Interface
Registration Registration Interface
Profile Profile Management

2. ๐Ÿ“Š Dashboard

  • Statistics Overview: Displays counts of users (admin-only), books, and categories.
  • Visual Analytics:
    • Column chart for books per category.
    • Area chart for books per user (admin-only).
  • Carousel: Engaging image slideshow to enhance the dashboard's appeal.
Feature Screenshot
Dashboard Dashboard Overview

3. ๐Ÿ“– Book Management

  • Create: Add books with title, description, quantity, category, cover image (JPEG/JPG/PNG, max 1MB), and PDF file (max 1MB).
  • Read: View books in a card layout with category filtering. Admins see all books; users see their own.
  • Update: Edit book details, including optional file replacements, with unique title validation.
  • Delete: Remove books with a confirmation modal for safety.
Feature Screenshot
Create Book Book Creation Modal
List Books Book Listing
Update Book Book Update Modal
Delete Book Book Deletion Confirmation

4. ๐Ÿท๏ธ Category Management (Admin Only)

  • Create: Add new categories with unique names.
  • Read: Display categories in circular cards with book counts.
  • Update: Edit category names with uniqueness validation.
  • Delete: Remove categories with a confirmation modal.
Feature Screenshot
Create Category Category Creation Modal
List Categories Category Listing
Update Category Update Category
Delete Category Category Deletion Confirmation

5. โš™๏ธ Additional Features

  • Dark/Light Mode: Toggle between themes for accessibility.
  • Toastr Notifications: Real-time feedback for all actions.
  • Responsive Design: Optimized for all devices using Bootstrap.
Feature Screenshot
Theme Toggle Dark/Light Mode Toggle
Notifications Toastr Notifications

๐Ÿ› ๏ธ Technologies Used

  • Laravel: Backend framework for routing, authentication, and database management.
  • Bootstrap 5: Responsive UI components.
  • Font Awesome: Icons for navigation and buttons.
  • Highcharts & Chart.js: Data visualization for dashboard charts.
  • Toastr.js: User-friendly notifications.
  • jQuery: DOM manipulation and modal triggers.
  • MySQL: Database for storing users, books, and categories.

๐Ÿš€ Setup Instructions

  1. Clone the Repository:

    git clone <repository-url>
  2. Install Dependencies:

    composer install
    npm install
  3. Configure Environment:

    • Copy .env.example to .env and set up database credentials.
    • Generate an application key:
      php artisan key:generate
  4. Run Migrations:

    php artisan migrate
  5. Serve the Application:

    php artisan serve
  6. Access the Application:

    • Visit http://localhost:8000.
    • Use admin123 as the token during registration for admin access.

๐Ÿ“‹ Usage

  • Admins: Manage categories, view all books, and access user statistics.
  • Users: Add, edit, or delete personal books and update profile details.
  • File Uploads: Ensure cover images (JPEG/JPG/PNG) and PDF files are under 1MB.
  • Navigation: Use the top navbar to access Dashboard, Books, and Categories (admin-only).

๐Ÿ”ฎ Future Enhancements

  • ๐Ÿ” Add search functionality for books and categories.
  • ๐Ÿ“š Implement book borrowing and return features.
  • ๐Ÿ”’ Enhance security with advanced validation and CSRF protection.
  • ๐Ÿ‘ฅ Add user management for admins.

๐Ÿค Contributing

Contributions are welcome! Please:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/YourFeature).
  3. Commit changes (git commit -m 'Add YourFeature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

Report bugs or suggest features via GitHub Issues.


๐Ÿ“œ License

This project is licensed under the MIT License.

About

A Simple CMS that includes CRUD operations in managing content related to library books

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published