ArmAlam / laravel-sanctum-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About the project

This is a simple laravel api authentication boilerplate using sanctum.

How to run the project

  • Clone the project
  • In the root directory copy the .env.example to a new file .env
  • In the .env file, cange DB_DATABASE, DB_USERNAME, DB_PASSWORD with your proper credentials
  • Open terminal and run the following commands:
  • composer install
  • php artisan migrate
  • php artisan serve
  • All the routes are listed in api.php file inside routes folder.
  • Open postman and play around with it

License

The Laravel framework is open-sourced software licensed under the MIT license.

About


Languages

Language:PHP 81.3%Language:Blade 17.3%Language:Shell 0.8%Language:JavaScript 0.5%