/credit-card-input-form

This project is a simple credit card input form using React, demo: https://credit-card-input-form.herokuapp.com

Primary LanguageJavaScript

Credit card input form

This project is a simple credit card input form

Online demo link:

https://credit-card-input-form.herokuapp.com

Assumptions:

  • Client-Server connection is websocket.
  • If the last digit of the card is ‘5’ then the result is always failure, otherwise success.

How to run:

  1. To make sure that we have a bundled application, lets build our code:
make BuildUI
  1. In one terminal Run UI code:
make RunUIProduction

3.Then in another terminal run a simple nodejs websocket server:

make RunServer