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:
- Clone the repository:
git clone git@github.com:FidelisClayton/mini-wallet.git
- Change to the project directory
cd mini-wallet
- Install the dependencies
npm install
- Serve the project
npm start
Useful commands
npm run test
: to run the unit testsnpm run coverage
: to run the coverage testsnpm 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