Skip to content

Lendsqr is a Lending-as-a-Service solution. Lendsqr provide a platform for lenders to create and manage their lending products. Lendsqr also provide a platform for borrowers to apply for loans and manage their loan accounts.

License

Notifications You must be signed in to change notification settings

Onyelaudochukwuka/lendsqr-fe-test

Repository files navigation

Lendsqr Assessment test

Lendsqr is a Lending-as-a-Service solution. Lendsqr provide a platform for lenders to create and manage their lending products. Lendsqr also provide a platform for borrowers to apply for loans and manage their loan accounts.

Getting Started

Navigate to directory on your machine:

cd folder/to/clone-into/

Clone repository:

git clone https://github.com/Onyelaudochukwuka/lendsqrassessment

Install all dependencies:

npm i
# or
yarn install

run the development server:

npm run start
# or
yarn start

Project Structure

src
├── ...
├── pages # contains all page components
├── components  ├── molecule # contains all super components
                ├── atom # contains all sub components
├── utils  ├── hooks   # All custom hooks
           ├── functions # All helper functions
           ├── redux # redux store, slices and api connection
├── assets # Images
            ├── icons # contains all icons
├── testing utils # helpers for tests
├──sass # reset and value partials
└── ... └──package.json # Contains all dependencies

Implemented Features

The features described in the assessment test were implemented. as well as the following:

  • All Buttons are interactive
  • Users can filter details on the user dashboard
  • Users can view details of a single user
  • single user details is stored in local storage on visiting page, the data stored updates whenever a response goes through.
  • Users can navigate through users using the pagination buttons
  • Users can choose how many user details they want to see at a time
  • Users can blacklist a user on the dashboard
  • Users can activate a blacklisted user on the dashboard
  • Users can view the details of a blacklisted user
  • Other pages on the side bar are accessible
  • A 404 page for pages that doesn't exists
  • inputs on the login page is validated using regex
  • Users can login (Login data is not being stored)

Performance tests

  • tests were Performed with JEST and React testing library

Screen Shot 2022-10-11 at 10 19 18 AM Screen Shot 2022-10-11 at 10 15 56 AM

  • The above are performance reports from web.dev and google lighthouse which goes to say my application is performant, accessible and SEO friendly as well as obey best semantic practices

Technologies Used

  • React

  • Typescript

  • Redux

  • Redux Toolkit

  • React Router

  • EsLint

  • Prettier

  • Sass

  • React Testing Library

  • Jest

Author

Onyela Udochukwuka

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Lendsqr is a Lending-as-a-Service solution. Lendsqr provide a platform for lenders to create and manage their lending products. Lendsqr also provide a platform for borrowers to apply for loans and manage their loan accounts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages