A web application featuring a basic CRUD system for managing books in an administrative panel with a responsive design. This small project was created to perform a "test drive" of Laravel Admin.
- PHP 8.1.5+
- Composer 2.0.9+
- Docker & Docker Compose
- Open port 80
- Clone the repository:
git clone https://github.com/dcomp7/laravel-admin-test.git
- Navigate to the project directory:
cd laravel-admin-test
- Install PHP dependencies:
composer install
- Copy the example environment file and configure your environment settings:
cp .env.example .env
- Start the Docker environment:
vendor/bin/sail up
- Generate the application key:
docker-compose exec laravel.test php artisan key:generate
- Run database migrations:
docker-compose exec laravel.test php artisan migrate
- Install JavaScript dependencies:
docker-compose exec laravel.test npm install
- Compile frontend assets:
docker-compose exec laravel.test npm run dev
Optional: To populate the Books table with sample data for testing pagination, run:
docker-compose exec laravel.test php artisan db:seed --class=BookSeeder
Ensure the Sail (Docker) environment and npm run dev
are running:
vendor/bin/sail up
docker-compose exec laravel.test npm run dev
Once the application is up and running, access it in your browser at: http://localhost
Login credentials:
- User: [email protected]
- Password: 12345678
This project is licensed under the MIT License.
Developed by @dcomp7