Last Buy is a challenge project, meaning that this project was a request to show my React Native coding abilities and knowledge.
Author: Caio Martins
The goal is to create a React Native project mocking shopping app with the following functionality requirements:
- Must container a shopping list
- Must be able to add products to cart
- Must have a clickable cart icon in the navigator header
- Free do add more functionalities
Application must be written in TypeScript.
Bonus points Create automated tests for the application.
Using npm to install all dependencies:
npm install
Using npm to run automated tests:
npm run test
Note: When running the automated tests a warning might appear in the log as such:
● Cannot log after tests are done. Did you forget to wait for something async in your test?
at Icon (/tonton/node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/lib/create-icon-set.js:82:36)
This is a known issue between Jest and @expo/vector-icons that has open tickets at GitHub. It can be ignored and more investigation is required.