Coder Social home page Coder Social logo

lendsqr's Introduction

#LendQR Assessment Project

This project is a job application assessment for LendQR. It involves building a Next.js application with TypeScript that includes four pages: Login, Dashboard, User page, and User details page. The project requirements are as follows:

-Build the 4 pages: Login, Dashboard, User page, and User details page. -The user pages should pull data from a mock API with 500 records. -Use local storage or IndexedDB to store and retrieve user -details on the user details page. -The pages must be mobile responsive. -Some details are intentionally left out of this instruction set. The candidate should be able to spot and address them.

Prerequisites

Make sure you have the following installed before getting started:

  • Node.js (version 18+)
  • pnpm
  • Git In the project directory, you can run:

Technologies

-Next.js: Framework for server-rendered React applications. -TypeScript: JavaScript with static typing. -Sass: CSS pre-processor for styling. -Local Storage: For storing and retrieving user details. -Mock API: To simulate fetching user data.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

#Usage -Login: Enter your credentials to access the dashboard. -Dashboard: View user statistics and insights. -Users: Browse through a list of users fetched from the mock API. -User Details: Click on a user to view their details, stored and retrieved from local storage or IndexedDB.

#API The mock API with 500 records is used to fetch user data. The API endpoint is defined in pages/api/mockData.ts.

#Responsive Design The application is designed to be fully responsive, ensuring a seamless experience across mobile and desktop devices.

Storage User details on the User Details page are stored and retrieved using local storage or IndexedDB.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Getting Started

Follow these steps to set up and run the project on your local environment:

Step 1: Clone the Repository

Clone the project repository and navigate to the project directory:

git clone https://github.com/tolubishops0/lendsqr.git
cd lendsqr

Step 2: Install Dependencies

Install the necessary project dependencies:

npm install
# or
yarn install
# or
pnpm install

Step 3: Start the Development Server

Run the development server to start the application locally:

npm run dev
# or
yarn start
# or
pnpm start

Live Preview

Link

lendsqr's People

Contributors

tolubishops0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.