A complete Laravel-based web application for managing book inventories with CRUD functionality, search, and pagination.
- Book CRUD Operations (Create, Read, Update, Delete)
- Advanced Search (by title or author)
- Pagination (50 books per page)
- Responsive Design (Works on all devices)
- Modern UI (Bootstrap 5)
- Backend: Laravel 10
- Frontend: Bootstrap 5
- Database: MySQL
- Pagination: Laravel Paginator
-
Clone the repository
git clone https://github.com/username/bookstore.git cd bookstore -
Install dependencies
composer install npm install
-
Setup environment
cp .env.example .env php artisan key:generate
-
Configure database
Edit.envfile:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=bookstore DB_USERNAME=root DB_PASSWORD=
-
Run migrations & seed data
php artisan migrate --seed
-
Start development server
php artisan serve
bookstore-management/
├── app/ # Core application logic
│ ├── Models/ # Database models
│ └── Http/ # Controllers
├── database/ # Migrations and seeders
├── public/ # Publicly accessible files
├── resources/ # Views and assets
├── routes/ # Application routes
└── vendor/ # Composer dependencies
- Access the application at
http://localhost:8000 - Default routes:
/- Book listing/books/create- Add new book/books/{id}/edit- Edit book
This project is open-source and available under the MIT License.
