Skip to content

dcomp7/laravel-admin-test

Repository files navigation

Laravel Admin Test

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.

Dependencies

  • PHP 8.1.5+
  • Composer 2.0.9+
  • Docker & Docker Compose
  • Open port 80

Installation & First Time Setup

  1. Clone the repository:
    git clone https://github.com/dcomp7/laravel-admin-test.git
  2. Navigate to the project directory:
    cd laravel-admin-test
  3. Install PHP dependencies:
    composer install
  4. Copy the example environment file and configure your environment settings:
    cp .env.example .env
  5. Start the Docker environment:
    vendor/bin/sail up
  6. Generate the application key:
    docker-compose exec laravel.test php artisan key:generate
  7. Run database migrations:
    docker-compose exec laravel.test php artisan migrate
  8. Install JavaScript dependencies:
    docker-compose exec laravel.test npm install
  9. 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

Application Access & Usage

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:

License

This project is licensed under the MIT License.

Author

Developed by @dcomp7

About

A simple CRUD application to test the Laravel Admin

Resources

Stars

Watchers

Forks

Languages