Overview
Vue Paper Dashboard Laravel is a frontend and backend development framework that offers reusable components and a flexible architecture for building apps across various devices and operating systems. It combines the power of Vue.js and Laravel, providing a seamless integration between the frontend and backend.
Features
- Reusable components for easy and efficient frontend development
- API-driven development for minimizing requests and reducing data transmission
- Flexible architecture for building apps that work on multiple devices and operating systems
Laravel API Setup
- Ensure you have a multi-threaded web server environment such as Apache/Nginx with PHP, Composer, and MySQL installed.
- Avoid using
php artisan serve as it is a single-threaded server and may cause stalled requests.
- It is recommended to use Laradock for Linux and Mac, or Laragon for Windows.
- Alternatively, you can set up a local environment with WAMP on Windows or Lamp on Linux & Mac.
- Install Composer by following the instructions at https://getcomposer.org/doc/00-intro.md.
Vue Paper Frontend
- Set up a local environment with Node.js (version 8.9 or above), npm, and Vue CLI installed.
- Install Node.js from https://nodejs.org/ (version 8.11.0+ recommended).
- Install npm by following the instructions at https://www.npmjs.com/get-npm.
- Install Vue CLI by following the installation guide at https://cli.vuejs.org/guide/installation.html.
Laravel JSON:API Project Installation
- Navigate to your Laravel API project folder using the command
cd your-laravel-json-api-project.
- Install project dependencies by running the command
composer install.
- Create a new
.env file by copying the .env.example file: cp .env.example .env.
- Update the
.env file with your own database credentials in the DB_DATABASE, DB_USERNAME, and DB_PASSWORD fields.
- Create the users table by running the command
php artisan migrate --seed.
- Generate the application key by running the command
php artisan key:generate.
- Install Laravel Passport by running the command
php artisan passport:install and set the CLIENT_ID and CLIENT_SECRET in the .env file.
- Add your mailtrap.io credentials in the
.env file under MAIL_USERNAME and MAIL_PASSWORD.
Vue Paper Dashboard Project Installation
- Navigate to your Vue Paper Dashboard project folder:
cd your-vue-paper-dashboard-project.