Skip to content

ADEMOLA200/Credit-Card-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Validator

Overview

This is a simple credit card validator application created by ODUKOYA ABDULLAHI ADEMOLA. The application allows users to validate credit card numbers along with expiration month and year.

Functionality

The application provides the following features:

  • Validates credit card numbers using the Luhn algorithm.
  • Validates expiration month and year.
  • Returns whether the credit card is valid or not.
  • Provides a message indicating the validity status of the credit card.

Usage

To use the application:

  1. Enter the credit card number, expiration month, and expiration year in the provided fields.
  2. Click on the "Validate" button to validate the credit card information.
  3. The result will be displayed, indicating whether the credit card is valid or not.

Technologies Used

  • Go (Golang) programming language for the backend logic.
  • HTML, CSS, and JavaScript for the frontend user interface.
  • Fetch API for making asynchronous requests to the server.
  • Luhn algorithm for credit card number validation.

Setup

To set up the application locally:

  1. Clone this repository to your local machine.
  2. Ensure you have Go installed on your machine.
  3. Run go run main.go to start the server.
  4. Open the index.html file in your browser to access the frontend interface.

Contributions

Contributions to the project are welcome. Feel free to submit bug reports, feature requests, or pull requests.

Author

  • ODUKOYA ABDULLAHI ADEMOLA

License

This project is licensed under the MIT License.

About

A Credit Card validator built With Golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages