Project

About This Project

A comprehensive web-based library management system built with CodeIgniter 4 
and Tailwind CSS. This system provides role-based access control for two user 
types: Administrators and Members.

Key Features:
- User Authentication (Login & Registration)
- Role-Based Access Control (Admin & Member)
- Book Management (CRUD operations)
- User Management (Admin only)
- Book Borrowing & Returning System
- Borrowing History & Analytics
- Overdue Detection
- Case-Insensitive Search
- Responsive Design with Tailwind CSS

Installation

INSTALLATION GUIDE

1. PREREQUISITES
   - Install PHP 8.2 or higher
   - Install PostgreSQL 12 or higher
   - Install Composer
   - Enable pgsql PHP extension in php.ini

2. CREATE DATABASE
   Run the following command in PostgreSQL:
   
   psql -U postgres -c "CREATE DATABASE library_management ENCODING 'UTF8';"

3. CLONE/EXTRACT PROJECT
   Navigate to your workspace and extract the project files

4. INSTALL PHP DEPENDENCIES
   Open command prompt in the project directory and run:
   
   composer install

5. CONFIGURE ENVIRONMENT FILE
   - Copy .env.example to .env (if exists)
   - Update .env with your database credentials:
   
   database.default.hostname = localhost
   database.default.database = library_management
   database.default.username = postgres
   database.default.password = YOUR_PASSWORD
   database.default.DBDriver = Postgre
   database.default.port = 5432
   database.default.charset = utf8

6. RUN DATABASE MIGRATIONS
   Execute migrations to create database tables:
   
   php spark migrate

7. SEED TEST DATA (OPTIONAL)
   Load initial test data with user roles:
   
   php spark db:seed UserSeeder

8. START DEVELOPMENT SERVER
   Start the CodeIgniter development server:
   
   php spark serve
   
   The application will be available at: http://localhost:8080

9. ACCESS APPLICATION
   Open your web browser and go to: http://localhost:8080

⭐ Project Reviews

0.0
Total Reviews
5
4
3
2
1