Introduction to Laravel
Laravel is a PHP-based web framework designed for building high-end web applications with elegant
and expressive syntax.
It offers a rich set of tools and follows a well-defined application architecture.
Laravel draws inspiration from various other frameworks like ASP.NET MVC, CodeIgniter, and Ruby on
Rails.
It is open-source and widely used by developers worldwide.
There are a variety of tools and frameworks available to you when building a web application.
However, we believe Laravel is the best choice for building modern, full-stack web applications.
Installation and Setup
Steps to follow for getting started with the template:
Laravel
Start command prompt window or terminal and change directory to laravel
cd laravel
For installing vendor Run in terminal or CMD:
composer install
Copy .env file Run in terminal or CMD:
cp .env.example .env
For generating key Run in terminal or CMD:
php artisan key:generate
Create database with name "handyman-service" in your sqlyog,laragon,xampp,wamp
- Open and edit the /.env file and provide your server details:
DB_CONNECTION="mysql"
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_DATABASE="YOUR DATABASE NAME"
DB_USERNAME="YOUR USERNAME"
DB_PASSWORD="YOUR PASSWORD"- If you want a dummy data into the application, you have to set this key to
true
IS_DUMMY_DATA=false
- Then run the below commands
php artisan migrate
php artisan db:seed
OR
php artisan migrate:fresh --seed
Don't know how to export SQL File? Here is Reference Click Here!
For installing node_modules Run in terminal or CMD:
npm install
For building css and js Run in terminal or CMD:
npm run dev
OR
npm run build
OR
npm run watch
To run project
php artisan serve
Login Credentials
For Admin Login
Username:admin@admin.com
Password:12345678OR
For Provider Login
Username:demo@provider.com
Password:12345678OR
For Handyman Login
Username:demo@handyman.com
Password:12345678OR
For User Login
Username:demo@user.com
Password:12345678
How to Export SQL File?
Youtube Video Link for Exporting SQL File - Click Here!