The Project includes Loan Functionality where users register themself and submit a loan request. On the other hand, the admin will approve the loan. And once the loan got approved the user can repay their loan instalments.
Few Major Feature are included:
- Auth Functionality
- Customer and Admin Scopes
- The Repayment amount can be more than or equal to the scheduled repayments
- Adjustment of excess amount to their upcoming instalments
- Payment records for the loan
- PHP (^7.3)
- Composer
- Create a new database and define the
DB_DATABASE
with the database name in.env
file - Define
APP_URL
in env with server URL - Use command
composer install
- Use command
php artisan migrate --seed
. This creates a default admin user in the database whereEmail = [email protected]
andPassword = password
- Create a new variable i.e
PASSPORT_URL
and define the server URL (if localhost tries to run the server with another port and paste the server URL) in.env
file - Use command
php artisan passport:install
- Copy the
Password Grant Client ID
and definePASSPORT_PASSWORD_CLIENT_ID
with the above-copied value in.env
file. Also, copyPassword Grant Client Secret
and definePASSPORT_PASSWORD_CLIENT_SECRET
with the copied value in.env
file - To run the test use
php artisan test