Skip to content

My implementation of card verification, which is about validating the card number, using the Luhn algorithm and several other things which indicate the card's provider.

Notifications You must be signed in to change notification settings

pawlovskiii/card-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

credit cards

Card Verification

Table of contents

General info

My implementation of card verification, which is about validating the card number, using the Luhn algorithm and several other things which indicate the card's provider.

Technologies

Implementation was created with Jest (as the testing framework), ESLint (for improving syntax and enforcing code style), and babel-jest (to enable the use of ES6 Modules with the Jest framework). During this project, I also tried to separate functionalities into different modules to divide responsibilities between them. That makes files more readable and flexible and that leads to the better code architecture. Moreover, I also wanted to create consistent commit history to show my methodology of work.

Name Versions
Node.js 16.4.0

Setup

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/pawlovskiii/card-verification

# Go into the repository
$ cd card-verification

# Install dependencies
$ npm install 

# Run the tests
$ npm test

About

My implementation of card verification, which is about validating the card number, using the Luhn algorithm and several other things which indicate the card's provider.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published