Skip to content

indranandjha1993/app2mobile-test

Repository files navigation

Project Setup

1. Clone GitHub repo for this project locally

git clone https://github.com/indranandjha1993/app2mobile-test.git

2. Install Composer Dependencies

composer install

3. Install NPM Dependencies

npm install

4. Create a copy of your .env file

cp .env.example .env

5. Generate an app encryption key

php artisan key:generate

6. Create an empty database for our application

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.

7. Migrate the database

php artisan migrate

Project Map

For Web

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.

For API

API endpoints:-

  1. api/auth/register
  2. api/auth/login
  3. api/auth/logout
  4. api/auth/refresh
  5. api/auth/profile

Authorization header

Authorization: Bearer eyJhbGciOiJIUzI1NiI...

About

Test project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published