Giter VIP home page Giter VIP logo

cryptousd's Introduction

TEST KNOWLEDGE NEXTJS AND REACTJS

Technical test report

Title: Web application to obtain information about cryptocurrencies in USD

Date: 2023-11-08

Authors: Brayan Camargo

Getting Started

Install dependencies:

npm install
# or
yarn

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Run test

npm run test
# or
yarn test

Live Demo

https://cryptousd.brayancamargo.dev/

Challenege

An enormous real estate company is going to be required to create a web application to obtain information about crypto currencies in USD, but the governance decided to use the default currency in EEUU. You make a list of crypto currencies, show the exchange to USD, filter the list by currency and show details.

Please use this endpoint for access to information. https://www.coinlore.com/cryptocurrency-data-api

Used technology:

  • Node v18
  • Next.js 14
  • TypeScript
  • React.js
  • Vercel

Results:

The web application meets the requirements of the test statement. It is capable of displaying a list of cryptocurrencies, the exchange rate to USD, filtering the list by currency, and displaying details.

The application was developed using Next.js 14 with Server Side Rendering (SSR). SSR allows the server side to render the entire HTML page, including the cryptocurrency data, before sending it to the client browser. This results in faster initial page loading and a better user experience, especially for users with low-speed Internet connections.

Live Demo:

https://cryptousd.brayancamargo.dev/

Performance analysis:

The results corresponding to the performance tests with different tools are attached:

PageSpeed

Mobile

The performance tests for mobile devices obtained the following results:

Mobile

You can check it by entering the following link:https://pagespeed.web.dev/analysis/https-cryptousd-brayancamargo-dev/6y0o47lgrm?form_factor=mobile

Desk

The performance tests for mobile devices obtained the following results:

Desk

You can check it by entering the following link:https://pagespeed.web.dev/analysis/https-cryptousd-brayancamargo-dev/6y0o47lgrm?form_factor=desktop

GTmetrix

GTmetrix

A more detailed report about these results can be found at the following link:https://gtmetrix.com/reports/cryptousd.brayancamargo.dev/jFwjfF6Q/

Improvements that can be made:

The following improvements could be made to further improve the performance and functionality of the application:

  • Using Cache for Cryptocurrency Data: The application could implement a caching mechanism to store cryptocurrency data, reducing the need for frequent API requests and improving performance.
  • Improved filters: By implementing the aforementioned improvement, an improvement could be made in the filters that areapply currently in the information, since it could be filtered directly on the complete data and not on the partial data provided by the api.
  • Implementation ofevidence End-to-End (E2E): Add end-to-end tests to verify the complete operation of the application and ensure the integrity of the features from the end-user perspective.

cryptousd's People

Contributors

brayanochz 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.