This project was bootstrapped with Create React App.
Run npm install
and then npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Run tests
npm test
- Add/Delete/Update credit card;
- Able to make a payment using following options:
- Select saved card
- Pay with new card
- Apple pay ( Gets random user data from jsonplaceholder)
- Timeline page, where all processed payments are being displayed;
- All data is stored in a localstorage
- Used custom created hook to manage forms which can be found in
/hooks
directory - To modify API endpoint for apple pay, consider to edit environment variable in
.env.development