It is an app that allows authenticated users to go through a loan application.
- PHP: ^7.3|^8.0
- Laravel: ^8.40
- MySQL: ^10.4
- Postman
Clone/Download repository
$ git clone https://github.com/aksamitksharma/loan_app
Run in project folder
cd folder_name
$ composer install
Rename the .env.example to .env and do your db configurations
Run in project folder:
$ php artisan migrate:fresh --seed
User email: johndoe@mail.com
All seeded accounts use 'test@123' password as well
Import Loan App.postman_collection file into Postman (It is in your root directory)
-Configure 'Headers' to support 'JSON' response.
-
Run Login API with respective valid username and password.
-
Copy the response authorized token.
-
To access loans API, Need to configure authorization 'Headers' with 'Bearer authorized-token'