repository
0.0.0-20240328105916-80666b4c2814
Repository: https://github.com/markraiter/cardcheck.git
Documentation: pkg.go.dev
# README
Cardcheck API
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.
- Clone the repository
- Install the dependencies with
go mod download
- Create
.env
file and copy values from.env_example
- Follow the instructions to install Taskfile utility
- Run the server with
task run
Running the tests
- Run the tests with
task test
- 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