- api/register/user - to register a new user
- api/login - to login an existing user
- api/user - to get authenicated users details
- api/logout - destroy's token
-
fork and clone this repository to get a local copy
-
change into the new projects directory
-
add upstream and checkout to a new branch
-
run
cp .env.example .env
to get .env file -
add your database details
-
run
composer install
-
run
php artisan migrate
to migrate database schema -
run
php artisan passport:install
-
finally start your local serve using
php artisan serve