+
{{ auth()->user()->name }} Status
+
+
+
+
+
+ Serial No |
+ {{-- Card No | --}}
+ Date |
+ Time |
+ {{-- Email | --}}
+ Doctor Name |
+ Prescription No. |
+ Status |
+ Action |
+
+
+
+ @foreach ($appointments as $appoint)
+
+ {{ $appoint->id }} |
+ {{-- {{ $appoint->patient->card->card_no}} | --}}
+ {{ $appoint->date}} |
+ {{ Carbon\Carbon::parse($appoint->time)->format('h:i A')}} |
+ {{-- {{ $appoint->patient->user->email }} | --}}
+ {{ $appoint->doctor->name ?? ''}} |
+ {{ $appoint->doctor->phone }} |
+
+
+ |
+
+
+ |
+
+
+ @endforeach
+
+
+ {{ $appointments->links('components.pagination') }}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/frontEnd/appointments/show.blade.php b/resources/views/frontEnd/appointments/show.blade.php
new file mode 100644
index 0000000..e1b95ac
--- /dev/null
+++ b/resources/views/frontEnd/appointments/show.blade.php
@@ -0,0 +1,25 @@
+@extends('layouts.frontend-user')
+@section('title')
+ Appointment Details
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
+
+
Patient Name: {{ $appointment->patient->name }}
+
Date: {{ $appointment->date }}
+
Time: {{ $appointment->time }}
+
Doctor: {{ $appointment->doctor->name }}
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/frontEnd/banner.blade.php b/resources/views/frontEnd/banner.blade.php
new file mode 100644
index 0000000..926f52c
--- /dev/null
+++ b/resources/views/frontEnd/banner.blade.php
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
Opening Hours
+
+
Mon - Fri
+
8:00am - 9:00pm
+
+
+
Saturday
+
8:00am - 7:00pm
+
+
+
Sunday
+
8:00am - 5:00pm
+
+
+
+
+
+
+
Search A Doctor
+
+
+
+ {{--
--}}
+
Search Doctor
+
+
+
+
+
Call for Appointment
+
Support Number
+
+88000000000
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/frontEnd/carousel.blade.php b/resources/views/frontEnd/carousel.blade.php
new file mode 100644
index 0000000..8ae7c75
--- /dev/null
+++ b/resources/views/frontEnd/carousel.blade.php
@@ -0,0 +1,31 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/frontEnd/comment.blade.php b/resources/views/frontEnd/comment.blade.php
new file mode 100644
index 0000000..becbcae
--- /dev/null
+++ b/resources/views/frontEnd/comment.blade.php
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
Dolores sed duo clita justo dolor et stet lorem kasd dolore lorem ipsum. At lorem lorem magna ut et, nonumy labore diam erat. Erat dolor rebum sit ipsum.
+
+
Client Name
+
+
+
+
Dolores sed duo clita justo dolor et stet lorem kasd dolore lorem ipsum. At lorem lorem magna ut et, nonumy labore diam erat. Erat dolor rebum sit ipsum.
+
+
Client Name
+
+
+
+
+
+
+
diff --git a/resources/views/frontEnd/contact.blade.php b/resources/views/frontEnd/contact.blade.php
new file mode 100644
index 0000000..1d3cdbf
--- /dev/null
+++ b/resources/views/frontEnd/contact.blade.php
@@ -0,0 +1,61 @@
+
+
diff --git a/resources/views/frontEnd/doctors.blade.php b/resources/views/frontEnd/doctors.blade.php
new file mode 100644
index 0000000..ac774b4
--- /dev/null
+++ b/resources/views/frontEnd/doctors.blade.php
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
Our Doctors
+
Meet Our Certified & Experienced Doctors
+
+
+
+ @foreach ($doctors as $doctor)
+
+
+
+
+
{{ $doctor->name }}
+
{{ $doctor->phone}}
+
+
+
+ @endforeach
+
+
+
+
diff --git a/resources/views/frontEnd/home.blade.php b/resources/views/frontEnd/home.blade.php
new file mode 100644
index 0000000..7b08c9e
--- /dev/null
+++ b/resources/views/frontEnd/home.blade.php
@@ -0,0 +1,60 @@
+@extends('layouts.master')
+
+@section('title', 'Rapid Care')
+
+
+
+@section('content')
+
+ @include('frontEnd.carousel')
+
+
+
+ @include('frontEnd.banner')
+
+
+
+ @include('frontEnd.about')
+
+
+
+ @include('frontEnd.service')
+
+
+
+ @include('frontEnd.offer')
+
+
+
+ @include('frontEnd.doctors')
+
+
+
+ @include('frontEnd.pricing')
+
+
+
+ @include('frontEnd.comment')
+
+
+
+ @include('frontEnd.contact')
+
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/frontEnd/offer.blade.php b/resources/views/frontEnd/offer.blade.php
new file mode 100644
index 0000000..216473c
--- /dev/null
+++ b/resources/views/frontEnd/offer.blade.php
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
Save 30% On Poor Patient and Student
+
Poor people who have no earning source and have no job. Student Should show S/he's sutdent card
+
Appointment
+
Read More
+
+
+
+
+
+
diff --git a/resources/views/frontEnd/pricing.blade.php b/resources/views/frontEnd/pricing.blade.php
new file mode 100644
index 0000000..3989865
--- /dev/null
+++ b/resources/views/frontEnd/pricing.blade.php
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
Pricing Plan
+ We Offer Fair Prices for Poor and Special Patients
+
+
Any kind of Disease can recover by us Insha Allah
+
Call for Appointment
+
+8800000000
+
+ {{-- --}}
+
+
+ @for ($i = 0 ; $i < 3 ; $i++)
+
+
+
+
+
$35
+
+
+
+
Teeth Whitening
+
+
Modern Equipment
+
Professional Dentist
+
24/7 Call Support
+
Appointment
+
+
+ @endfor
+
+
+ {{-- --}}
+
+
+
+
diff --git a/resources/views/frontEnd/service.blade.php b/resources/views/frontEnd/service.blade.php
new file mode 100644
index 0000000..64682a1
--- /dev/null
+++ b/resources/views/frontEnd/service.blade.php
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Our Services
+ We Offer The Best Quality Health Services
+
+
+
+
+
+
+
+
Cosmetic Dentistry
+
+
+
+
+
+
+
+
Dental Implants
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Dental Bridges
+
+
+
+
+
+
+
+
Teeth Whitening
+
+
+
+
+
+
+
Make Appointment
+
Clita ipsum magna kasd rebum at ipsum amet dolor justo dolor est magna stet eirmod
+
+012 345 6789
+
+
+
+
+
+
+
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php
new file mode 100644
index 0000000..1f34466
--- /dev/null
+++ b/resources/views/home.blade.php
@@ -0,0 +1,23 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+ @if (session('status'))
+
+ {{ session('status') }}
+
+ @endif
+
+ {{ __('You are logged in!') }}
+
+
+
+
+
+@endsection
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
new file mode 100644
index 0000000..39dbdee
--- /dev/null
+++ b/resources/views/layouts/app.blade.php
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
@yield('title')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @yield('singlePageStyle')
+
+
+
+
+
+ {{-- Top Bar Start --}}
+ @if (Request::is('admin*'))
+ @include('layouts.backend.top-bar')
+ @endif
+ {{-- Top Bar End --}}
+
+ {{-- Menu Bar Start --}}
+ @if (Request::is('admin*'))
+ @include('layouts.backend.side-bar')
+ @endif
+ {{-- Menu Bar End --}}
+
+
+
+ @if (Request::is('admin*'))
+ @include('layouts.backend.messages')
+ @endif
+ @yield('content')
+
+
+
+
+ @if (Request::is('admin*'))
+ @include('layouts.backend.logout-model')
+ @endif
+
+
+
+
+
+
+
+
+
+
+ {{-- --}}
+
+
+
+
+
+
+
+
+ {{-- --}}
+
+ @yield('singlePageScript')
+
+
+
+
diff --git a/resources/views/layouts/backend/logout-model.blade.php b/resources/views/layouts/backend/logout-model.blade.php
new file mode 100644
index 0000000..e52ba91
--- /dev/null
+++ b/resources/views/layouts/backend/logout-model.blade.php
@@ -0,0 +1,19 @@
+
+
+
+
+
+
Select "Logout" below if you are ready to end your current session.
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/layouts/backend/messages.blade.php b/resources/views/layouts/backend/messages.blade.php
new file mode 100644
index 0000000..76aba84
--- /dev/null
+++ b/resources/views/layouts/backend/messages.blade.php
@@ -0,0 +1,15 @@
+
+ @if (count($errors)>0)
+ @foreach ($errors->all() as $error)
+
+ {{ $error }}
+
+ @endforeach
+ @endif
+ @if (session('success'))
+
+ {{ session('success')}}
+
+ @endif
+
+
\ No newline at end of file
diff --git a/resources/views/layouts/backend/side-bar.blade.php b/resources/views/layouts/backend/side-bar.blade.php
new file mode 100644
index 0000000..00cc47b
--- /dev/null
+++ b/resources/views/layouts/backend/side-bar.blade.php
@@ -0,0 +1,54 @@
+
\ No newline at end of file
diff --git a/resources/views/layouts/backend/top-bar.blade.php b/resources/views/layouts/backend/top-bar.blade.php
new file mode 100644
index 0000000..018efbd
--- /dev/null
+++ b/resources/views/layouts/backend/top-bar.blade.php
@@ -0,0 +1,54 @@
+
\ No newline at end of file
diff --git a/resources/views/layouts/frontend-user.blade.php b/resources/views/layouts/frontend-user.blade.php
new file mode 100644
index 0000000..0635b24
--- /dev/null
+++ b/resources/views/layouts/frontend-user.blade.php
@@ -0,0 +1,22 @@
+@include('layouts.frontend.header')
+
+
+
+
+ Loading...
+
+
+ Loading...
+
+
+ Loading...
+
+
+
+
+
+@include('layouts.frontend.top-bar')
+
+@yield('content')
+
+@include('layouts.frontend.script')
\ No newline at end of file
diff --git a/resources/views/layouts/frontend/header.blade.php b/resources/views/layouts/frontend/header.blade.php
new file mode 100644
index 0000000..5e35698
--- /dev/null
+++ b/resources/views/layouts/frontend/header.blade.php
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
{{ $title ?? '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/layouts/frontend/menu.blade.php b/resources/views/layouts/frontend/menu.blade.php
new file mode 100644
index 0000000..a7a38cb
--- /dev/null
+++ b/resources/views/layouts/frontend/menu.blade.php
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/layouts/frontend/script.blade.php b/resources/views/layouts/frontend/script.blade.php
new file mode 100644
index 0000000..41bec2c
--- /dev/null
+++ b/resources/views/layouts/frontend/script.blade.php
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/layouts/frontend/top-bar.blade.php b/resources/views/layouts/frontend/top-bar.blade.php
new file mode 100644
index 0000000..cde9a3d
--- /dev/null
+++ b/resources/views/layouts/frontend/top-bar.blade.php
@@ -0,0 +1,70 @@
+@if (Route::is('frontEnd.appointments*'))
+
+
+
+
+
+
+
+
+ {{-- @if (Route::is('frontEnd.appointments.index'))
+
+
{{ $appointments->patient->card->card_no }}
+
+ @endif --}}
+ @if (Route::is('frontEnd.appointments.show'))
+
+
Card No.{{ $appointments->patient->card->card_no }}
+
+ @endif
+
+ @if (Route::is('frontEnd.appointments.index'))
+
+ @endif
+
+ @if (Route::is('frontEnd.appointments.show'))
+
+ @endif
+
+
+
+
+
+ @else
+
+
+
+
+
+ Opening Hours: Everyday Evening : 5.00 pm - 10.00 pm
+
+
+
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php
new file mode 100644
index 0000000..1ab4ac5
--- /dev/null
+++ b/resources/views/layouts/master.blade.php
@@ -0,0 +1,93 @@
+@include('layouts.frontend.header')
+
+
+
+
+
+ Loading...
+
+
+ Loading...
+
+
+ Loading...
+
+
+
+
+
+ @if (Route::is('frontEnd*'))
+ @include('layouts.frontend.top-bar')
+ @endif
+
+
+
+@if (Route::is('frontEnd*') && Route::is('frontEnd.home'))
+@include('layouts.frontend.menu')
+@endif
+
+
+@yield('content')
+
+@if (Route::is('frontEnd.home'))
+
+
+
+
+
+
+
Get In Touch
+
123 Street, New York, USA
+
info@example.com
+
+012 345 67890
+
+
+
+
+
+
+
+@endif
+
+
+
+
+
+@include('layouts.frontend.script')
\ No newline at end of file
diff --git a/resources/views/layouts/partials/messages.blade.php b/resources/views/layouts/partials/messages.blade.php
new file mode 100644
index 0000000..1fe15a0
--- /dev/null
+++ b/resources/views/layouts/partials/messages.blade.php
@@ -0,0 +1,16 @@
+@if(Session::get('success', false))
+
+ @if (is_array($data))
+ @foreach ($data as $msg)
+
+
+ {{ $msg }}
+
+ @endforeach
+ @else
+
+
+ {{ $data }}
+
+ @endif
+@endif
\ No newline at end of file
diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php
new file mode 100644
index 0000000..82b6ba8
--- /dev/null
+++ b/resources/views/login.blade.php
@@ -0,0 +1,4 @@
+@extends('layouts.frontend.header')
+
+ Login Page
+
diff --git a/resources/views/register.blade.php b/resources/views/register.blade.php
new file mode 100644
index 0000000..d2d4300
--- /dev/null
+++ b/resources/views/register.blade.php
@@ -0,0 +1,4 @@
+@extends('layouts.frontend.header')
+
+
+
diff --git a/resources/views/vendor/pagination/bootstrap-4.blade.php b/resources/views/vendor/pagination/bootstrap-4.blade.php
new file mode 100644
index 0000000..63c6f56
--- /dev/null
+++ b/resources/views/vendor/pagination/bootstrap-4.blade.php
@@ -0,0 +1,46 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/default.blade.php b/resources/views/vendor/pagination/default.blade.php
new file mode 100644
index 0000000..0db70b5
--- /dev/null
+++ b/resources/views/vendor/pagination/default.blade.php
@@ -0,0 +1,46 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/semantic-ui.blade.php b/resources/views/vendor/pagination/semantic-ui.blade.php
new file mode 100644
index 0000000..ef0dbb1
--- /dev/null
+++ b/resources/views/vendor/pagination/semantic-ui.blade.php
@@ -0,0 +1,36 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/simple-bootstrap-4.blade.php b/resources/views/vendor/pagination/simple-bootstrap-4.blade.php
new file mode 100644
index 0000000..4bb4917
--- /dev/null
+++ b/resources/views/vendor/pagination/simple-bootstrap-4.blade.php
@@ -0,0 +1,27 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/simple-default.blade.php b/resources/views/vendor/pagination/simple-default.blade.php
new file mode 100644
index 0000000..36bdbc1
--- /dev/null
+++ b/resources/views/vendor/pagination/simple-default.blade.php
@@ -0,0 +1,19 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/simple-tailwind.blade.php b/resources/views/vendor/pagination/simple-tailwind.blade.php
new file mode 100644
index 0000000..6872cca
--- /dev/null
+++ b/resources/views/vendor/pagination/simple-tailwind.blade.php
@@ -0,0 +1,25 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/vendor/pagination/tailwind.blade.php b/resources/views/vendor/pagination/tailwind.blade.php
new file mode 100644
index 0000000..5bf323b
--- /dev/null
+++ b/resources/views/vendor/pagination/tailwind.blade.php
@@ -0,0 +1,106 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php
new file mode 100644
index 0000000..754e427
--- /dev/null
+++ b/resources/views/welcome.blade.php
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
Laravel
+
+
+
+
+
+
+
+
+
+
+
+ @if (Route::has('login'))
+
+ @auth
+
Home
+ @else
+
Log in
+
+ @if (Route::has('register'))
+
Register
+ @endif
+ @endauth
+
+ @endif
+
+
+
+
+
+
+
+
+
+
+
+ Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end.
+
+
+
+
+
+
+
+
+
+ Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process.
+
+
+
+
+
+
+
+
+
+ Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials.
+
+
+
+
+
+
+
+
+
+ Laravel's robust library of first-party tools and libraries, such as
Forge,
Vapor,
Nova, and
Envoyer help you take your projects to the next level. Pair them with powerful open source libraries like
Cashier,
Dusk,
Echo,
Horizon,
Sanctum,
Telescope, and more.
+
+
+
+
+
+
+
+
+
+
+ Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
+
+
+
+
+
+
diff --git a/routes/api.php b/routes/api.php
new file mode 100644
index 0000000..eb6fa48
--- /dev/null
+++ b/routes/api.php
@@ -0,0 +1,19 @@
+get('/user', function (Request $request) {
+ return $request->user();
+});
diff --git a/routes/channels.php b/routes/channels.php
new file mode 100644
index 0000000..5d451e1
--- /dev/null
+++ b/routes/channels.php
@@ -0,0 +1,18 @@
+id === (int) $id;
+});
diff --git a/routes/console.php b/routes/console.php
new file mode 100644
index 0000000..e05f4c9
--- /dev/null
+++ b/routes/console.php
@@ -0,0 +1,19 @@
+comment(Inspiring::quote());
+})->purpose('Display an inspiring quote');
diff --git a/routes/web.php b/routes/web.php
new file mode 100644
index 0000000..9280502
--- /dev/null
+++ b/routes/web.php
@@ -0,0 +1,87 @@
+ 'App\Http\Controllers'], function()
+{
+
+
+
+// Route::get('/', function () {
+// return view('welcome');
+// });
+
+
+//Public APIs ===========================================================================================================
+
+
+// Frontend Public APIs ===========================================================================================================
+Route::get('/', 'frontEndController@index')->name('frontEnd.home');
+Route::prefix('frontEnd')->name('frontEnd.')->group(function (){
+ Route::get('login','AuthController@login')->name('login');
+ Route::post('login','AuthController@storeLogin')->name('storeLogin');
+ Route::get('register', 'AuthController@register')->name('register');
+ Route::post('register', 'AuthController@storeRegister')->name('storeRegister');
+ Route::get('about','frontEndController@about')->name('about');
+ Route::get('doctors','frontEndController@doctors')->name('doctors');
+ Route::get('services','frontEndController@services')->name('services');
+ Route::get('patients','frontEndController@patients')->name('patients');
+ Route::get('contact', 'frontEndController@showContact')->name('showContact');
+ Route::post('contact', 'frontEndController@storeContact')->name('storeContact');
+});
+
+// Authenticated Frontend APIs
+Route::group(['middleware'=>['auth']], function() {
+ Route::prefix('frontEnd')->name('frontEnd.')->group(function(){
+ // patientController
+ // Route::resource('patients', PatientController::class);
+ // Route::get('patients/cal', [PatientController::class, 'calPatient')->name('calPatient');
+
+ Route::get('appointments', 'AppointmentController@index')->name('appointments.index');
+ Route::put('appointments/{appointment}/update-status','AppointmentController@updateStatus')->name('appointments.update-status');
+ Route::get('appointments/create', 'AppointmentController@create')->name('appointments.create');
+ Route::post('appointments/store', 'AppointmentController@store')->name('appointments.store');
+ Route::get('appointments/{id}', 'AppointmentController@show')->name('appointments.show');
+ Route::get('logout', 'AuthController@logout')->name('logout');
+ });
+});
+
+// ================================== Backend Public APIs ======================================================
+Route::prefix('admin')->name('admin.')->group(function (){
+ Route::get('login','AuthController@login')->name('login');
+ Route::post('login','AuthController@adminLogin')->name('adminLogin');
+ Route::get('register', 'AuthController@adminRegister')->name('register');
+ Route::post('register', 'AuthController@AdminStoreRegister')->name('storeRegister');
+});
+
+Route::group(['middleware' => ['auth']], function() {
+ Route::prefix('admin')->name('admin.')->group(function () {
+ Route::get('dashboard', 'DashboardController@index')->name('dashboard');
+ Route::resource('users', 'UserController');
+ Route::put('users/{user}/update-status','UserController@updateStatus')->name('users.update-status');
+ Route::get('logout', 'AdminAuthController@logout')->name('logout');
+ // Route::post('users', 'serController::class,'updateProfile')->name('updateProfile');
+
+ Route::resource('employees', 'EmployeeController');
+ Route::get('employees/cal', 'EmployeeController@calEmployee')->name('calEmployee');
+
+ Route::resource('doctors', 'DoctorController');
+ Route::get('doctors/cal', 'DoctorController@calDoctor')->name('calDoctor');
+
+ // patientController
+ Route::resource('patients', 'PatientController');
+ Route::put('patients/{patient}/update-status','PatientController@updateStatus')->name('patients.update-status');
+ Route::get('patients/cal', 'PatientController@calPatient')->name('calPatient');
+
+ // AppointmentController::
+ Route::resource('appointments', 'AdminAppointmentController');
+
+ Route::get('user-access', 'UserController@userAccess')->name('user-access');
+ Route::resource('roles', 'RoleController');
+ Route::resource('permissions', 'PermissionController');
+ });
+
+});
+
+});
\ No newline at end of file
diff --git a/server.php b/server.php
new file mode 100644
index 0000000..5fb6379
--- /dev/null
+++ b/server.php
@@ -0,0 +1,21 @@
+
+ */
+
+$uri = urldecode(
+ parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
+);
+
+// This file allows us to emulate Apache's "mod_rewrite" functionality from the
+// built-in PHP web server. This provides a convenient way to test a Laravel
+// application without having installed a "real" web server software here.
+if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
+ return false;
+}
+
+require_once __DIR__.'/public/index.php';
diff --git a/storage/app/.gitignore b/storage/app/.gitignore
new file mode 100755
index 0000000..8f4803c
--- /dev/null
+++ b/storage/app/.gitignore
@@ -0,0 +1,3 @@
+*
+!public/
+!.gitignore
diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/app/public/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore
new file mode 100755
index 0000000..05c4471
--- /dev/null
+++ b/storage/framework/.gitignore
@@ -0,0 +1,9 @@
+compiled.php
+config.php
+down
+events.scanned.php
+maintenance.php
+routes.php
+routes.scanned.php
+schedule-*
+services.json
diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore
new file mode 100755
index 0000000..01e4a6c
--- /dev/null
+++ b/storage/framework/cache/.gitignore
@@ -0,0 +1,3 @@
+*
+!data/
+!.gitignore
diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/cache/data/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/sessions/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/testing/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/views/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore
new file mode 100755
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/logs/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php
new file mode 100644
index 0000000..547152f
--- /dev/null
+++ b/tests/CreatesApplication.php
@@ -0,0 +1,22 @@
+make(Kernel::class)->bootstrap();
+
+ return $app;
+ }
+}
diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php
new file mode 100644
index 0000000..4ae02bc
--- /dev/null
+++ b/tests/Feature/ExampleTest.php
@@ -0,0 +1,21 @@
+get('/');
+
+ $response->assertStatus(200);
+ }
+}
diff --git a/tests/TestCase.php b/tests/TestCase.php
new file mode 100644
index 0000000..2932d4a
--- /dev/null
+++ b/tests/TestCase.php
@@ -0,0 +1,10 @@
+assertTrue(true);
+ }
+}
diff --git a/webpack.mix.js b/webpack.mix.js
new file mode 100644
index 0000000..1a2a958
--- /dev/null
+++ b/webpack.mix.js
@@ -0,0 +1,16 @@
+const mix = require('laravel-mix');
+
+/*
+ |--------------------------------------------------------------------------
+ | Mix Asset Management
+ |--------------------------------------------------------------------------
+ |
+ | Mix provides a clean, fluent API for defining some Webpack build steps
+ | for your Laravel application. By default, we are compiling the Sass
+ | file for the application as well as bundling up all the JS files.
+ |
+ */
+
+mix.js('resources/js/app.js', 'public/js')
+ .sass('resources/sass/app.scss', 'public/css')
+ .sourceMaps();