laravel_passport
Clone the Repo:
terminal
- git clone https://github.com/KSHDestiny/laravel_passport.git
- code Laravel_Passport
Project Setup:
terminal
- npm install
- composer update
- cp .env.example .env
- php artisan key:generate
- php artisan migrate:fresh --seed
- php artisan passport:install
- php artisan serve
- npm run dev
email : admin@gmail.com, password : password
email : destiny@gmail.com, password : password
http://127.0.0.1:8000/api/register
POST Method
http://127.0.0.1:8000/api/login
POST Method
http://localhost:8000/api/employee
GET Method
http://localhost:8000/api/employee
POST Method
http://localhost:8000/api/employee/6
POST Method
http://localhost:8000/api/employee/6
DELETE Method