How does it work?

Only authenticated users can access dashboard pages. If a user is not authenticated, the user redirected to the login page.

We used default authentication provided by laravel, To see all routes, please visit the web.php page.

there is default authentication routes created for new user register, login, and logout. you can register new user and login with existing user too.