victory-sokolov / react-payment-management

Front-end development task to create a small payment management using React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Payment Managment

This project was bootstrapped with Create React App.

Run application


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

Features


  • 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

Dependencies


Notes


  1. Used custom created hook to manage forms which can be found in /hooks directory
  2. To modify API endpoint for apple pay, consider to edit environment variable in .env.development

About

Front-end development task to create a small payment management using React


Languages

Language:TypeScript 90.3%Language:HTML 5.4%Language:CSS 2.1%Language:JavaScript 2.1%