Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noahbravo/pinpad-react

Interactive pin pad developed using react hooks and functional components
https://github.com/noahbravo/pinpad-react

cssmodules cssmodules-react javascript javascript-library jest jest-snapshots jest-tests react reacthooks reacttestutils sass spa

Last synced: about 13 hours ago
JSON representation

Interactive pin pad developed using react hooks and functional components

Awesome Lists containing this project

README

        

# Interactive pin pad

Interactive pin pad SPA developed using react hooks and functional components.

- The pin has max of 4 digits long
- The pin is hidden except for the last number, the rest are replaced with *
- The pin is checked when the user inputs 4 digits
- The screen displays "OK" if the pin is correct, otherwise it shows "ERROR". The pin pad is then reseted.
- The pin pad locks for 30 secs, showing "LOCKED", after 3 failed attempts.

[Launch app](https://master.d10k3mg45usdto.amplifyapp.com/) 🚀

## How to

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app), which comes with the following predefined scripts:

### Run development mode

```
$ yarn start
```

### Run build

```
$ yarn build
```

### Run tests

```
$ yarn test
```