Paidy RN take home assignment

Pre-request

This project is base on Expo, so you need expo-cli and related environment (nodejs, android, ios). Please check the document for more information.

Run

yarn install
yarn run start

Test

yarn run test

User story

  • User can add task.
  • User can update task (by click the task).
  • User can delete task.

Design

  • To keep it as simple as possible, it uses memory to storage tasks.
  • Before add / update / delete, the application will request for authentication.
  • To avoid duplicate action, the authentication status will be stored.
  • For easy testing, auth status will refresh every 60 sec.

Can be better

  • Use persist storage
  • Mock expo-local-authentication and fully test authService

Author

Eddie Hsu