Full-stack library management system with Laravel API and React frontend. Handles book cataloging, user management, loan tracking, and automated fine calculation.
- User authentication and role-based access control
- Book catalog with search and filtering
- Loan management and tracking
- Automated fine calculation for overdue books
- Library card issuance and renewal
- Dashboard with statistics
- Backend: Laravel 12, PHP 8.2+
- Frontend: React 19, TypeScript, Inertia.js
- Styling: Tailwind CSS
- Database: PostgreSQL or MySQL
- PHP 8.2 or higher
- Composer 2.x
- Node.js 18+
- PostgreSQL or MySQL
-
Clone the repository:
git clone https://github.com/PhucTruong-ctrl/library-management-system.git cd library-management-system -
Install PHP dependencies:
composer install
-
Install JavaScript dependencies:
npm install
-
Configure environment:
cp .env.example .env php artisan key:generate
-
Set up database credentials in
.envand run migrations:php artisan migrate --seed
Start the development server:
composer run devOr run separately:
php artisan serve
npm run devAccess the application at http://localhost:8000
app/
Http/Controllers/ - Request handlers
Models/ - Eloquent models
Services/ - Business logic
resources/
js/ - React components
views/ - Blade templates
database/
migrations/ - Database migrations
seeders/ - Data seeders
Contributions are welcome. Please open an issue first to discuss proposed changes.
MIT License