Ailin-Glez / aerolab-challenge

Aerolab Challenge to build a catalog view for a loyalty program app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aerolab-challenge

Aerolab Challenge is a challenge to build a catalog view for a loyalty program app

API

The API used for this challenge is explained here

Criteria

Users have an undetermined amount of points accumulated, and each product is worth a set amount of points.

  • Each product should have a visible price in points.
  • The user should be able to sort products by price, from highest to lowest, and vice-versa.
  • The user should be able to see how many points they have in their account.
  • There should be a clear way for the user to distinguish those products that they can redeem from those they cannot.
  • A “Redeem” button should be available for those products that the user has enough points to claim.
  • A “Redeem now” option should appear when the user interacts with a product that they have enough points to claim.
  • When the user doesn’t have enough points for a product, they should be able to see how many more points they need to claim it.
  • The user should not be able to redeem a product for which they don’t have enough points.
  • When the user clicks on the Redeem now button, the system should automatically deduct the item’s price from the users’ points.

Live Demo

Here is the link for the live demo

Design

This is an example of the expected webpage webpage design

About

Aerolab Challenge to build a catalog view for a loyalty program app


Languages

Language:TypeScript 69.7%Language:CSS 25.7%Language:JavaScript 2.4%Language:HTML 2.3%