KSHDestiny / attendance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Employee CRUD with Passport Package

Database Tables Name

laravel_passport

Installation

Clone the Repo:

terminal

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

To Login

email : admin@gmail.com, password : password
email : destiny@gmail.com, password : password

For API Testing

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

About


Languages

Language:PHP 73.3%Language:Blade 26.4%Language:JavaScript 0.2%Language:SCSS 0.1%