Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

This repo contains source code for Aerolab's Coding Challenge submission

Notifications You must be signed in to change notification settings

ng-hai/aerolab-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aerolab Coding Challenge

https://aerolab-coding-challenge.now.sh/

Challenge

The challenge is to build a catalog view for a loyalty program app in one month. The product’s main goal is to help users redeem items through a points-based system.

Result

Results

View on Facebook

View on Twitter

Technical Stack

  • create-react-app boilerplate for structuring client app
  • styled-components for styling
  • redux for managing state
  • react-router for routing
  • react-animated-number for animating user points
  • react-feather icons
  • react-lazyload for lazy loading product components
  • react-parallax for banner transition
  • react-scroll-to-component for scrolling to top when navigating pagination
  • react-motion-ui-pack for transtioning banner text & product
  • react-notification for global system notifiying
  • now for deployment

Criteria

Original Version

Users have an undetermined amount of points accumulated, and each product is worth a set amount of points. We’ll test the product you submit, along with the code it is written in, and any additional interactions or layers you’d like to add.

We want to see how your code’s UI interacts with different states and user interactions, so your product should comply with the following guidelines:

(Keep in mind that the jury will also take into account the quality of the submitted code. Simply meeting this criteria doesn’t mean your solution will automatically win)

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

About

This repo contains source code for Aerolab's Coding Challenge submission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published