This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const validateCreditCardNumber = require('./luhn-algorithm'); | |
// Bu tool ile Credit Card Numarası Üretip Fonksiyonu Test Edebiliriz | |
// https://www.creditcardvalidator.org/generator | |
console.log(validateCreditCardNumber("4532201414641731")); // Visa = true | |
console.log(validateCreditCardNumber("5316400776001851")); // MasterCard = true | |
console.log(validateCreditCardNumber("379727417901957")); // Amex = true | |
console.log(validateCreditCardNumber("6222021199044319")); // UnionPay = true | |
console.log(validateCreditCardNumber("3016364233432398")); // Diners = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my-app | |
├── Dockerfile | |
├── docker-compose.yml | |
├── node_modules/ | |
├── package.json | |
├── spec | |
├── src | |
├── yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
networks: | |
graynet: | |
driver: bridge | |
# This is how you persist data between container restarts | |
volumes: | |
mongo_data: | |
driver: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graylog: | |
image: graylog/graylog:5.1 | |
container_name: graylog | |
environment: | |
# Password: admin | |
GRAYLOG_ROOT_PASSWORD_SHA2: "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" |
OlderNewer