Project using Laravel Passport.
$ composer install
$ cp .env.example .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=db_password
$ php artisan key:generate
$ php artisan migrate
$ php artisan db:seed
$ php artisan passport:install
1. Auth
1 ) Register -> /api/register
2 ) Login -> /api/login
3 ) Logout -> /api/logout
2. Forgot password
1 ) Create link -> /api/create
2 ) Find token -> /api/find/{token}
3 ) Reset password -> /api/reset
3. Users
1 ) Get users -> /api/users
2 ) Find user -> /api/users/{id}
3 ) Create user -> /api/users
4 ) Update user -> /api/users/update/{id}
5 ) Delete user -> /api/users/delete/{id}