A REST API backend application to validates whether a given IBAN number is valid or not.
make build
: build the binary according to source OS (linux or macos)make run
: run the built binarymake test
: run the unit test and display the coveragemake clean
: clean the built files
- run
docker compose up
GET /validate?iban_number=GB33BUKB20201555555555
Parameter | Value | Description |
---|---|---|
iban_number |
GB33BUKB20201555555555 |
required. value cannot be empty |
Response
- 200
{
"isValid":true
}
- 400 | 422
error message