Skip to content

fiwz/Rest-API-Auth-Using-JWT

Repository files navigation

Laravel Rest API Authentication Using JWT Tutorial

A Sandbox Try and Fail Project

This project produce API for login and register user using Laravel 10

Tech stack:

  • Laravel 10
  • MySQL

Sauce: https://fajarwz.com/blog/laravel-rest-api-authentication-using-jwt-tutorial/

Custom Error Handling / Error Handler / Handle Error

Sauce: https://imansugirman.com/laravel-custom-error-handler-json-response

Custom error handler for unauthorized user (error unauthenticated) Sauce: https://laracasts.com/discuss/channels/laravel/custom-message-for-unauthorized-api-call-in-laravel-8?page=1&replyId=718394

Branch

  • master
  • feature/custom-error-handling-byimansugitman

How to Run Application

php artisan migrate
php artisan serve

Tested on Firefox

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published