This is a simple laravel api authentication boilerplate using sanctum.
- 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
The Laravel framework is open-sourced software licensed under the MIT license.