git clone https://github.com/indranandjha1993/app2mobile-test.git
composer install
npm install
cp .env.example .env
php artisan key:generate
I have used app2mobile task as name database, you can use as you want but it's require to get all configuration in .env file.
php artisan migrate
Open url where you have hosted the project and first you have to register yourself and after that you will be able to login and logout by that credential.
You can find login and register link on right side of screen.
API endpoints:-
- api/auth/register
- api/auth/login
- api/auth/logout
- api/auth/refresh
- api/auth/profile
Authorization: Bearer eyJhbGciOiJIUzI1NiI...