https://github.com/bailyboy021/laravel-crud
Laravel CRUD with AJAX and Bootstrap 5
https://github.com/bailyboy021/laravel-crud
bootstrap5 datatables-ajax laravel
Last synced: 4 months ago
JSON representation
Laravel CRUD with AJAX and Bootstrap 5
- Host: GitHub
- URL: https://github.com/bailyboy021/laravel-crud
- Owner: bailyboy021
- Created: 2024-12-05T21:57:31.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-12-25T09:25:58.000Z (6 months ago)
- Last Synced: 2025-01-17T10:14:59.564Z (5 months ago)
- Topics: bootstrap5, datatables-ajax, laravel
- Language: PHP
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel-CRUD
A simple implementation of CRUD using Laravel and AJAX.

## Installation
1. Clone the repository:
```bash
git clone https://github.com/bailyboy021/Laravel-CRUD.git
```2. Navigate to the project directory:
```bash
cd Laravel-CRUD
```3. Install Composer dependencies:
```bash
composer install
```4. Copy the `.env.example` file to `.env` and configure your environment variables (especially database credentials):
```bash
cp .env.example .env
```Buka file `.env` dan sesuaikan pengaturan database Anda. Contoh:
```
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
```5. Generate application key:
```bash
php artisan key:generate
```6. Run database migrations:
```bash
php artisan migrate
```7. Serve the application:
```bash
php artisan serve
```This will start the development server at `http://127.0.0.1:8000`.