This project is a company profile website developed using Laravel 11. It features an admin panel that allows easy management of pages and menus, providing an intuitive interface for administrators to update content seamlessly. This project serves as a personal milestone in my journey to learn Laravel 11, and I plan to continue enhancing its features and functionality in the future.
- Admin Dashboard: Manage Categories, Menus, Messages, and Web Pages.
- User-Friendly Front Page: The source code includes a simple and easy-to-navigate front page with sections for Home, Menu, About, and Contact, making it accessible for all users.
Here, you’ll find the essential steps to set up and navigate through the project. Follow these simple instructions to explore the features of the website and make the most of your experience.
-
Clone the Repository
git clone https://github.com/josephines1/kopi-king.git
-
Install Dependencies
composer install npm install
-
Copy the Environment File
cp .env.example .env
-
Set Database Connection. Open the .env file in a text editor and set your database connection details:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel11-kopi-king DB_USERNAME=root DB_PASSWORD=
-
Generate the Application Key
php artisan key:generate
-
Create Storage Link
php artisan storage:link
-
Update the Filesystem Disk. Open your
.env
file and change theFILESYSTEM_DISK
value fromlocal
topublic
:FILESYSTEM_DISK=public
-
Run Migrations
php artisan migrate
-
Seed the Database
php artisan db:seed --class=DatabaseSeeder php artisan db:seed --class=FrontPagesSeeder
-
Compile Assets
npm run dev
-
Run the Application
php artisan serve
After running the seed commands mentioned above, you can log in to the admin panel using the following credentials:
Email: admin@example.com
Password: password
Once logged in, you can start exploring the interface and adding the necessary media files and photos for the website. To access the admin page, append /admin to the main URL. For example:
http://127.0.0.1:8000/admin
http://laravel11-kopi-king.test/admin
This will redirect you to the login page.
- Laravel 11 - a PHP web application framework with expressive, elegant syntax.
- Breeze Starter Kit - a minimal, simple implementation of all of Laravel's authentication features.
- Tailwind CSS - A utility-first CSS framework packed with classes.
- daisyUI - the most popular component library for Tailwind CSS
Contributions to improve this application are greatly appreciated. If you encounter any issues or bugs, please create a new issue in this repository.
Made by Josephine.