This is a simple laravel 8 app that teaches how to do user registration and login. The repository is the code to one of my article on Dev.to, Laravel 8 Auth (Registration and Login) the article will teach you how to do user authentication in Laravel 8, the method is applicable to Laravel 6 and also Laravel 7
- git clone https://github.com/Kingsconsult/laravel_8_auth.git
- cd laravel_8_auth/
- composer install
- npm install
- cp .env.example .env
- php artisan key:generate
- Add your database config in the .env file (you can check my articles on how to achieve that)
- Add your email address and the password in the .env
- php artisan migrate
- php artisan serve (if the server opens up, http://127.0.0.1:8000, then we are good to go)
Holding down the Ctrl button and Clicking the localhost http://127.0.0.1:8000/ will serve our app in our default browser
Then click on register by the top-right to register an account,
will give us this page, filling your name, email address and password and submitting will take us to the our dashboard
- Register to the app
- Visit the dashboard
- Log out
- Log in
- Reguest to reset password
- Reset password
- Edit profile
- Enable two-factor Authentication