Skip to content

german-grandas/LendingTest

Repository files navigation

Lending Front Technical Test

Application Design

The application is a single page application, it was structured from a Layout layer where the global styles of the page are.
A component which represents the main window, within it has two more components, the component of the list of products and the component with the Investors view, finally a component with the facility to edit the information of an investor.

Calls to the Backend

There are 3 main calls to the backend:
- get_products_by_id brings all products given a user id
- get_investors_by_id brings all investors given a user id and a product id
- edit_investor edits the information of an investor

The routes used to obtain the data should be of type post, except for the route to modify the investor information, which should be put.

Expected Data from API

The get_products_by_id route should receive the current user information and return the information related to a product, such as: product_id, date, amount and status

The get_investors_by_id route should receive the current user information and the current product_id selected return the information related to a product, such as: id, investor_name, sold, purchased,left_amount and remaining

The edit_investor route should receive the information of the investor to be edited

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published