/Online-Library-CRUD

Simple CRUD application built with Laravel 9 and Vue.js

Primary LanguagePHP

How to Run this project

Requirements

Steps to run Laravel Backend

Step 1:

git clone https://github.com/ThusharaX/Online-Library-CRUD.git
cd Online-Library-CRUD/Laravel-Backend

Step 2:

  • Copy .env.example file to .env on the "Laravel-Backend" folder. You can type copy .env.example .env if using command prompt Windows

  • Open XAMPP and start Apache server and MySQL server

  • Open phpMyAdmin and create a database called "online_library_db"

  • Open your .env file and change the database name (DB_DATABASE) to "online_library_db"

Step 3:

composer install
php artisan key:generate
php artisan migrate:fresh --seed
php artisan serve

Steps to run Vue.js Frontend

Step 1:

  • Run Laravel-Backend Application

  • Open another terminal

Step 2:

cd Online-Library-CRUD/Vue-Frontend
yarn install
yarn lint
yarn serve

Sample login credentials:

Online-Library-CRUD Screenshots :

image

image

image

image

image

image

image

image

image