Giter Club home page Giter Club logo

hyb-her's Introduction

Coding Challenge - React Native

to run:

npm start

Inventory is a small utility app that could be used in a logistics company. It has two use cases:

  1. Adding products to the inventory using a bar code scanner
  2. Viewing the inventory of products

Screenshots:

The app is built using Expo, TypeScript, React Native Paper and Redux. The backend is a REST API provided by Airtable.

Tasks

Project management has created tasks related to the app and put them on the Kanban board. Pick a single task and try to solve it within a reasonable amount of time (~2h).


INV-1

Type: Bug

Subject: Inventory list limited to 100 items

Description: On the app's home screen the user cannot scroll beyond 100 items. The list of products stops after 100 items, despite more items being stored in the backend. The app should load remaining items when the user scrolls to the end of the list.

Tipp: Airtable's REST API allows for 100 items to be fetched in one request. In order to show all results, create a fetchMoreInventory thunk action with pagination using the offset parameter.


INV-2

Type: Feature

Subject: Filter input for products list (client-side)

Description: It should be possible for the user to filter the list of products on the app's home screen. Add a text input on top of the product list that filters the list of products for matching product codes as you type (product code contains filter string). The filtering should not make a backend request. A reset button lets you clear the text input and return to the unfiltered products list.

Tipp: Create a setFilter action along with a search input on top of the HomeScreen component to enable the user to filter for inventory items by product code. The same action can be used to reset the products list


Additional info

  • The goal is not to have a perfect solution but to be able to perfectly explain whatever result you have got.
  • For questions regarding the instructions don't hesitate to get back in contact with us.

hyb-her's People

Contributors

patrinoua avatar

Watchers

Christian Justus avatar James Cloos avatar  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.