rafi021 / laravuespa

It is a Laravel 8 & Vue JS-based SPA demo project for a quick start of development. Build with love and open source for developers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Total Downloads Latest Stable Version License

About LaravelSPA

It is a Laravel 8 & Vue JS based SPA started project for quick start of development. Build with love and open source for developers.

  1. Bootstrap 4.6
  2. laravel/ui
  3. laravel/sanctum: ^2.11
  4. intervention/image: ^2.5
  5. Vue JS
  6. Vuex - State management
  7. Vue Router - Route management
  8. cxlt-vue2-toastr: ^1.1.1
  9. laravel-vue-pagination: ^2.3.1
  10. vform ^2.0.4

Getting Started Step by Step

  1. In your root folder, clone the project file using git clone https://github.com/rafi021/laravuespa.git
  2. Open terminal (bash/cmd). Then go to project folder using command
cd laravuespa
  1. Then install required files and libraries using
composer install
  1. Then create a .env file and generate key for this project using command
cp .env.example .env

php artisan key:generate
  1. Then compile all CSS & JS files together using this command
npm install && npm run dev

or

yarn install && yarn run dev
  1. Create a database in MYSQL and connect it with your project via updating .env file.
  2. After connecting the db with project, then run command
php artisan migrate:fresh --seed

After completing the migration and seeding of db, you will have 1 user ready for login in this project. User -> Mahmud Ibrahim Email -> admin@gmail.com Pass -> 12345678

Finally we are ready to run our project using this command

php artisan serve

About

It is a Laravel 8 & Vue JS-based SPA demo project for a quick start of development. Build with love and open source for developers.


Languages

Language:PHP 62.1%Language:Vue 26.0%Language:Blade 11.5%Language:Shell 0.5%