/mini-wallet

MiniWallet is your new virtual wallet which offers a list of currencies.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status codecov

MiniWallet

MiniWallet is your new virtual wallet which offers a list of currencies, such as: Bitcoin, Brazilian Real, and Brita.

Features

  • ⬆️ Sell coins
  • ⬇️ Buy coins
  • 📖 See transactions history

Stack

This app was build with ReactJS using create-react-app. The data is stored locally using PouchDB.

Tests

This project uses Jest and Enzyme to run the unit tests.

Gettings started

To run this project locally you need to have NodeJS and NPM installed in your machine. After this, follow these steps:

  1. Clone the repository:
git clone git@github.com:FidelisClayton/mini-wallet.git
  1. Change to the project directory
cd mini-wallet
  1. Install the dependencies
npm install
  1. Serve the project
npm start

Useful commands

  • npm run test: to run the unit tests
  • npm run coverage: to run the coverage tests
  • npm run build: to make the production build

Folder structure

  • components: Dumb components
  • containers: Component connected with redux
  • database: Functions related to PouchDB
  • helpers: Helper functions
  • store: Redux store, reducers and actions
  • store/reducers: Reducers
  • store/actions: Actions

📝 TODO

  • Add unit tests to reducers
  • Add unit tests to actions
  • Add unit tests to database functions
  • Add unit tests to helpers