The Laravel+Vue Crud Starter is a simple template for building single-page application (SPA) using Laravel 8, Vue 2, and AdminLTE 3. It provides basic functionality such as CRUD operations, authentication, user management, and more. The template is built with Laravel Passport for authentication and uses Admin LTE 3, Bootstrap 4, and Font Awesome 5 for the UI. It also includes features like pagination, modal-based create and edit forms, and profile management. The template is easy to install and can be used to kickstart the development of a new SPA application.
To install the Laravel+Vue Crud Starter, follow these steps:
Clone the repository:
git clone https://github.com/AnowarCST/laravel-vue-crud-starter.git
Navigate to the project directory:
cd laravel-vue-crud-starter/
Install dependencies:
composer install
Copy the environment file:
cp .env.example .env
Update the .env file with your database credentials.
Generate an application key:
php artisan key:generate
Run database migrations:
php artisan migrate
Seed the database:
php artisan db:seed
Install Laravel Passport:
php artisan passport:install
Install frontend dependencies:
npm install
Compile frontend assets:
npm run dev
Start the application:
php artisan serve
Alternatively, if you prefer to install using Docker:
Clone the repository (if not already done):
git clone https://github.com/AnowarCST/laravel-vue-crud-starter.git
Navigate to the project directory:
cd laravel-vue-crud-starter/
Install dependencies:
composer install
Copy the environment file:
cp .env.example .env
Update the .env file with your database credentials.
Generate an application key:
php artisan key:generate
Run database migrations:
php artisan migrate
Seed the database:
php artisan db:seed
Install Laravel Passport:
php artisan passport:install
Start the Docker environment:
docker-compose up -d
Enter the Docker container:
docker exec -it vue-starter /bin/bash
Install frontend dependencies:
npm install
Compile frontend assets:
npm run dev
Start the application:
php artisan serve
The application can now be accessed at http://localhost:8008/. The database can be accessed using Adminer at http://localhost:8080/ with the following credentials: DBhost: yourIP:3307, user: root, Password: 123456.
The Laravel+Vue Crud Starter is a simple template for building single-page applications (SPA) using Laravel 8, Vue 2, and AdminLTE 3. It provides features like CRUD operations, authentication, user management, profile management, and more. The template can be easily installed by following the provided installation steps. It is a great starting point for developers who want to quickly get started with building an SPA application using Laravel and Vue.