Skip to content

Simple validator for credit card number and expiration date

Notifications You must be signed in to change notification settings

ataru993/cardcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cardcheck API

Go Report Card

This is an API for validating credit cards.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Go version 1.22.0
  • Docker (optional)

Installing

A step by step series of examples that tell you how to get a development environment running.

  1. Clone the repository
  2. Install the dependencies with go mod download
  3. Create .env file and copy values from .env_example
  4. Follow the instructions to install Taskfile utility
  5. Run the server with task run

Running the tests

  1. Run the tests with task test
  2. Also you can proceed with the OpenAPI docs by link localhost:8888/swagger

Deployment

You can also run the service in Docker container with task run-container

Built With

  • Go - The programming language used.
  • Docker - Used for containerization.

About

Simple validator for credit card number and expiration date

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published