Skip to content

hellocaio/tonton

Repository files navigation

Welcome to Last Buy!

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

Objective

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.

App Markup

App illustration

Installation

Using npm to install all dependencies:

	npm install

Automated Tests

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.

Screenshots

Splash

Splash

Shop

Shop

Product

Product

Cart

Cart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published