Git Product home page Git Product logo

fe-coding-challenge's Introduction

Products | A test modification

Welcome to this coding challenge, don't worry, there is no perfect solution. Take few minutes to read through this README to get you started and know the requirements.

Setup description

You will find a ProductService in /app/features/products/services that you should be using for your implementation. Do not change its implementation.

The ProductService exposes a single method get(), which returns an RxJS Observable holding a paginated list of product entities.

RxJS

As of now, the App only displays the one products page containing a products-list.

A "Load More" button is already in place though. Utilize RxJS to implement the functionality of this button by loading the next page of products and append it's contents to the current page products, whenever the user clicks it.

Give the user feedback while loading data and handle errors gracefully.

Tasks Summary (in order of importance)

  1. [] Clicking "Load More" should append more products each time.
  2. [] Display a loading indicator, as needed.
  3. [] Handle get() errors
  4. [] CSS: auto arrange the product cards horizondally on bigger screens and keep them vertical on small screens.

Important Tips

Ideally, the code should be:

  • as reactive as possible.
  • fully unit tested.

Submitting your solution

  • Via github: you can simply provide your solution by creating a pull request for this repository.

  • Via StackBlitz: save all the files and click the Share button on the left side of the top bar.

fe-coding-challenge's People

Contributors

oanasurdea avatar robotcherries 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.