/Express_EJS_Cards_Validator

Node Express EJS Stack Credit Cards Validator App.

Primary LanguageTypeScript

Express EJS Stack Credit Cards Validator

Node, Express, Less and EJS Stack App for Credit Cards Number Verification.

Link to the application: Coming soon...

Description

General Info

The app uses Luhn algorithm, prefixes and number length to validate credit cards. The algorithm was taken from Rosetta Code and LearnersBucket.

You can use these credit card numbers (or your own card - the numbers aren't saved anywhere) to test the app:
Visa: 4242424242424242,
American Express: 371449635398431 or 3400 0000 0000 009,
Dinners Club: 30569309025904,
Discover: 6011111111111117,
JCB: 3530111333300000,
Maestro: 6763-0903-0733-1012
Visa Electron: 4917300800000000,
Master Card: 5500 0000 0000 0004.

Notes

The .env file is not hosted on GitHub.com.
I have some packages installed globally (e.g. TypeScript, Nodemon) so you have to install them manually.

ScreenShots

Screen 1

Screen 2

Screen 3

Screen 4

Built With

License

MIT