Membuat CRUD REST API
git clone https://github.com/mirzapurnandi/kpp-api.git nama_folder
cd nama_folder
composer install
cp .env-example .env
php artisan key:generate
php artisan jwt:secret
php artisan migrate
php artisan db:seed
Ikuti Langkah Berikut:
- Ubah file .env didalam folder "nama_folder"
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=nama_database_anda DB_USERNAME=username_database_anda DB_PASSWORD=password_database_anda
- Selesai, Jalankan
php artisan serve
di command