Skip to content

anoopmundathan/cc-check-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Check App

This is just a basic mock up app that validates credit card input.

You can see live version here

Functionality

A client server app. Server is in nodejs using express web framework.

After running server locally (see How to run? section), once you open the app, you will see a credit card detail form. Upon submit it validates the input in the client side and if all input validations are ok it does a asynchronous request to server for credit card number check.

Server validates credit card number and returns isValid = ('true' || 'false' ) and Card type = ('Visa'||'Master Card'||'American Express'||'UnKnown')

Development

  1. Clone the repository
$> git clone https://github.com/anoopmundathan/cc-check-app.git
$> cd cc-check-app
$> npm install
$> node server
  1. Open a browser and visit
localhost:3000

Reference

Luhn_algorithm

External Libraries

jQuery Bootstrap

About

Credit Card Checker App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published