This repository hosts the Kawan project, developed with Laravel, styled using Tailwind CSS, and Bootsrap 5.
Before you begin, ensure you have met the following requirements:
- PHP >= 8.2.4
- Composer
- Node.js & npm
- MySQL or any other compatible database
-
Clone the repository:
https://github.com/PradipaJavierFatah/kawan_project_v2 cd kawan_project_v2
-
Install PHP dependencies:
composer install
-
Install Node.js dependencies:
npm install
-
Copy the
.env.example
file to.env
:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Configure your database settings in the
.env
file:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_user DB_PASSWORD=your_database_password
-
Run the database migrations:
php artisan migrate:fresh php aritsan migrate:fresh --seed
-
Seed the database (optional):
php artisan db:seed
-
Build the front-end assets:
npm run dev
-
Start the local development server:
php artisan serve
By default, the server will be accessible at http://127.0.0.1:8000.
THANK YOU!