Skip to content

quick-credit-api is an online lending platform that provides short term soft loans to individuals. This helps solve problems of financial inclusion as a way to alleviate poverty and empower low income earners.

Notifications You must be signed in to change notification settings

emma50/quick-credit-api

Repository files navigation

Quickcredit api Build Status Coverage Status Maintainability Test Coverage


Quick Credit API

is an online lending platform that provides short term soft loans to individuals. This helps solve problems of financial inclusion as a way to alleviate poverty and empower low income earners.


Technologies

Quick Credit API was developed with JavaScript (ES6), Node.js using Express 4.
with Airbnb JavaScript Style Guide


Swagger Documentation

API endpoints Documentation URL - https://quick-credit-api.herokuapp.com/api/v1/docs/

API Information

API endpoints URL - https://quick-credit-api.herokuapp.com/

METHOD DESCRIPTION ENDPOINT
POST Sign Up api/v1/auth/signup
POST Sign In api/v1/auth/signin
POST Apply for a Loan api/v1/loans
GET Get all User api/v1/Users
GET Get all Loan Applications api/v1/loans
GET Get Specific Loan Application api/v1/loans/:loanid
GET Get Current Loans (not fully repaid) api/v1/loans/?status=approved&repaid=false
GET Get all Repaid Loans. api/loans/?status=approved&repaid=true
PATCH Mark a client as verified api/v1/users/<:user-email>/verify
PATCH Approve or reject a loan application api/v1/loans/<:loan-id>
POST Create a loan repayment record api/v1/loans/<:loan-id>/repayment
GET View loan repayment history api/v1/loans/<:loan-id>/repayments

Sample Users

Admin-
Username: admin@quickcredit.com
Password: emma@2020

User-
Username: user@quickcredit.com
Password: emma@2020


Running Locally

Make sure you have Node.js 12.14.1 installed and POSTMAN.

git clone https://github.com/emma50/quick-credit-api.git
cd quick-credit-api
npm install
npm start

Quick Credit API should now be running on localhost:3000.


Author

Okwuidegbe Emmanuel Ikechukwu

About

quick-credit-api is an online lending platform that provides short term soft loans to individuals. This helps solve problems of financial inclusion as a way to alleviate poverty and empower low income earners.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published