frap129 / cs471-project

0 stars 2 forks source link

Apply For a Loan #9

Closed AndyGabler closed 3 years ago

AndyGabler commented 3 years ago

As a student, I would like to be able to apply for a loan from.

Acceptance Criteria User Action System Response
User accesses loan web page Web page prompts login
User logs in Web page responds with either success or failure
User clicks "Apply Here" to apply for loan Web page takes user to list of available loans
User selects filters for appropriate loan Web page applies filters
User clicks "apply for loan" on loan of their choosing Web page moves loan with all relevant details to pending state for officer to review
AndyGabler commented 3 years ago

Here is a rough API design. Please note, this diagram fails to mention that a decimal tag named "amount" will be used in the request. Loan_Application_Request

AndyGabler commented 3 years ago

Talked with @genocidalist and @frap129 about this one. We expect that the frontend and backend will have a list of Loan Offers that will have the same information. The "templateId" is how the frontend and backend matchup the loan offer being used.

AndyGabler commented 3 years ago

Creating a table of loan offers so that the backend and frontend have the same data.

I think 6 ought to give us enough to play with.

Template ID Offer Name Loan Interest (Fraction) Loan Terms Bank
1 Presidential Loan 0.07 Unsubsidized Bank of America
2 Honors Loan 0.05 Unsubsidized Bank of America
3 Scholars Loan 0.02 Subsidized Bank of America
4 Honey Loan 0.089 Unsubsidized Honey Bank
5 Sweet Honey Loan 0.06 Subsidized Honey Bank
6 Larvae Loan 0.01 Unsubsidized, barring exceptional circumstance, only given to lowerclassmen. Honey Bank