Website CRUD Hotel dengan framework Laravel
git clone https://github.com/siunlucky/hotel.git
npm i
and
composer install
Copy and rename file .env.example to .env and find DB_DATABASE=laravel
change to DB_DATABASE=hotel
php artisan key:generate
php artisan migrate
php artisan migrate:fresh --seed
npm run dev --watch
and
php artisan serve
Homepage:
http://127.0.0.1:8000/hotel
Login Admin
http://127.0.0.1:8000/hotel/login
Input the default Id Password for access dashboard admin
Admin Id : admin password : admin
Receptionist Id : receptionist password : receptionist
Dashboard Admin
http://127.0.0.1:8000/hotel/admin/dashboard
Dashboard Receptionist
http://127.0.0.1:8000/hotel/receptionist/dashboard