Skip to content

ayoub-aberbach/my_library

Repository files navigation

Library Management System

A dashboard to manage a book-rental library.

Features:

  • Authentication
  • Book management
  • Author management
  • Lended books management
  • Multi-language support (Arabic / English)
  • Filtering functionalities
  • Book availability checker

Installation Steps:

  1. Install Dependencies:
composer install
npm install
  1. Set Up the .env File:
cp .env.example .env
  1. Generate an Application Key:
php artisan key:generate
  1. Configure the Database:

Update the .env file with your database credentials:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
  1. Run the Project:

Open two terminal windows and execute the following commands:

  • First Terminal (Migrate database & start the server):
php artisan migrate && php artisan serve
  • Second Terminal (Compile frontend assets):
npm run dev

Now, your Library Management System is up and running! 🚀📚