[Vuejs]-Best practices in a laravel & vuejs application authentication and routing

2πŸ‘

βœ…

  1. JWT tokens have some advantages over traditional session base authentication. For example you don store session data on server and save server resources , jwt tokens are available in your request amoung multiple servers and so on…
    For further reading check this article :
    https://float-middle.com/json-web-tokens-jwt-vs-sessions/

2.Yes you should use laravel routes as restful apis

Leave a comment