Skip to content

Files

Latest commit

03685dc · Mar 17, 2022

History

History
28 lines (24 loc) · 906 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 906 Bytes

LARAVEL API REPOSITORY PATTERN

Spesifikasi

  • Laravel 9.x
  • MySQL 5.7.xx
  • Composer 2.x
  • PHP 8.1.x
  • XDEBUG_MODE = ON (opsional. atur di php.ini)

Installation

$ git clone git@github.com:imamdev93/laravel-api-repository-pattern.git
$ cd laravel-api-repository-pattern
$ cp .env.example .env
$ php artisan key:generate
$ composer install
$ ubah konfigurasi database
$ php artisan migrate --seed
$ php artisan serve => http://127.0.0.1:8000

Jalankan Unit dan Feature Test

$ ./vendor/bin/phpunit