Skip to content

simple "shopping cart" using react, redux, typescript, and the firebase-rest API

Notifications You must be signed in to change notification settings

nickbouldien/carrinho

Repository files navigation

Carrinho

((shopping) cart in Português) Just a small React project to mess around with react, the Firebase REST API, redux, redux-saga, semantic-ui, and more. Bootstrapped with create-react-app (and ejected).

Installation

  • pull down the repo (fork/clone)
  • yarn install
  • yarn start (to run dev - uses port 3000 by default)

Tests

test scripts:

  • yarn test:watch
  • yarn test
  • yarn test:coverage

TODOs:

  • use better patterns
  • use localStorage to persist data
  • write tests
  • more/better styling
  • fix image issues
  • add a favicon
  • add auth
  • let user add new items to stock
  • let user update items in stock
  • have item detail page
  • more refactoring (add hooks)

Quick Demo:

carrinho quick demo

sources: