Skip to content

bailyboy021/Laravel-CRUD

Repository files navigation

Laravel-CRUD

A simple implementation of CRUD using Laravel and AJAX.

crud

Installation

  1. Clone the repository:

    git clone https://github.com/bailyboy021/Laravel-CRUD.git
  2. Navigate to the project directory:

    cd Laravel-CRUD
  3. Install Composer dependencies:

    composer install
  4. Copy the .env.example file to .env and configure your environment variables (especially database credentials):

    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:

    php artisan key:generate
  6. Run database migrations:

    php artisan migrate
  7. Serve the application:

    php artisan serve

    This will start the development server at http://127.0.0.1:8000.

About

Laravel CRUD with AJAX and Bootstrap 5

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published