PHP: 7.4
MySQL: 8.0
-
composer update
Kerakli package larni o'rnatadi
-
Config qilish
- .env file hosil qiling - DB yarating va .env file ni update qiling
-
php artisan key:generate
Applicatation key yaratadi
-
php artisan migrate:fresh
DB ga table va view lar yaratadi
-
php artisan passport:install --force
Client ID va Client secret larni generate qiladi.
-
php artisan db:seed
Superadmin user yaratadi: username: superadmin@gmail.com password: admin1234
-
Shundan so'ng username, password, client id va client secret yordamida Bearer token olish mumkin.