Show | Free Bootstrap 4 HTML5 Admin Dashboard
Admin Dashboard is an admin template that has been inspired by the Google approach to user interface design.
If you choose the Material Dashboard template for your project, not only will your admin area feature some of the best practices in user interface design from Google, but you’ll also get access to a great set of tools to help you give your dashboard a custom look.
Step 1: Install Laravel 8
First, install a new Laravel app just by running the below command in your terminal.
composer create-project --prefer-dist laravel/laravel laravel_call_api_basic
Step 2: Update Your Database Credentials
After that update your database credentials in your .env file which is located in your project root.
1. connection databases
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db
DB_USERNAME=root
DB_PASSWORD=#your database password
2. for send mail when fogot password
Step 4: Add in Home Page
Add the below code in your home.blade.php file.
Resources/Views/home.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>soengsouy.com</title>
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon.png">
<!-- Pignose Calender -->
<link href="./plugins/pg-calendar/css/pignose.calendar.min.css" rel="stylesheet">
<!-- Chartist -->
<link rel="stylesheet" href="./plugins/chartist/css/chartist.min.css">
<link rel="stylesheet" href="./plugins/chartist-plugin-tooltips/css/chartist-plugin-tooltip.css">
<!-- Custom Stylesheet -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
</body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>soengsouy.com</title>
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon.png">
<!-- Pignose Calender -->
<link href="./plugins/pg-calendar/css/pignose.calendar.min.css" rel="stylesheet">
<!-- Chartist -->
<link rel="stylesheet" href="./plugins/chartist/css/chartist.min.css">
<link rel="stylesheet" href="./plugins/chartist-plugin-tooltips/css/chartist-plugin-tooltip.css">
<!-- Custom Stylesheet -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
</body>
</html>
Step 9: Run Development Server
After successfully updating all runs the development server just adds the below command in the terminal.
php artisan serve
After this go to the browser and check using the login page.
http://localhost/laravel_call_api_basic
/public/
Tags:
Bootstrap
:)
ReplyDeletecool
ReplyDeletenice
ReplyDelete