3.0.0 • Published 5 years ago

payfazz-frontend-denver v3.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

Payfazz React Native/JS Front-End Developer Test

This test was done by Denver T. H. in order to pass Front End Developer test.

Projects built with

  1. Node JS
  2. Redux
  3. Yarn
  4. Typescript
  5. Jest

Available Scripts

In the project directory, you can run:

tsc

Compiling .ts files in src into .js files in dist

yarn run start

Creating store and dispatches some actions, explanation from output (https://www.mediafire.com/convkey/7cfe/3fib98nzk38samqzg.jpg):
  1. First line is initial state with two user, Giant and Suneo.
  2. Second line is dispatched UPSERT with Doramomon user (ID 3), INSERT new user.
  3. Third line is dispatched UPSERT with Doramomon user (ID 3), UPDATE current user.
  4. Fourth line is dispatched DELETE Giant user (ID 1).
  5. Fifth line is dispatched CLEAR, which is clear all list.

yarn run test

Testing functions with jest engine (result may appear like this https://www.mediafire.com/convkey/9da0/n5101rfbz2kov1jzg.jpg)

yarn add payfazz-frontend-denver

Installing this package from npm