Create Login Basic using the jetstream library
- PHP
- Laravel Framework 8.x
- Install composer: https://getcomposer.org/
$ git clone https://github.com/TanHongIT/laravel-training-module
$ cd laravel-training-module/blog
Run:
$ npm install
$ composer install
Run:
$ php artisan key:generate
Create a new database in your server and edit the information in the .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
Run:
$ php artisan migrate
$ php artisan db:seed --class=UserSeeder
Now, Launch your system...
Run the laravel project on port: http://localhost:8000
$ php artisan serve
Go to http://localhost:8000/login:
- Username: username1
- Password: 123456789