Tizimga bo'lgan talablar:


PHP: 7.4
MySQL: 8.0    

O'rnatish qadamlari:


  1. composer update

     Kerakli package larni o'rnatadi
    
  2. Config qilish

     - .env file hosil qiling
     - DB yarating va .env file ni update qiling
    
  3. php artisan key:generate

     Applicatation key yaratadi	
    
  4. php artisan migrate:fresh

     DB ga table va view lar yaratadi	
    
  5. php artisan passport:install --force

     Client ID va Client secret larni generate qiladi.	
    
  6. php artisan db:seed

     Superadmin user yaratadi:
    
     username: superadmin@gmail.com
     password: admin1234
    
  7. Shundan so'ng username, password, client id va client secret yordamida Bearer token olish mumkin.