Skip to content

trtstm/iban-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run the assignment

Docker-compose

Check the .env file if you want to expose the API on a different port than 8080.

assignment$ docker-compose up

Docker

assignment$ make build/docker/local
assignment$ docker run -p 8080:80 docker.io/trtstm/iban-service:dev

Local

Build the binary, this will create a binary iban-service in the root directory.

assignment$ make build
assignment$ API_ADDRESS=:8080 ./iban-service

Calling the API.

To view the swagger documentation please visit http://127.0.0.1:8080/docs.

Example curl:

assignment$ curl -X GET 127.0.0.1:8080/api/validate/iban/SE1234
assignment$ curl -X GET 127.0.0.1:8080/api/validate/iban/NL80INGB6519574414

Tests

assignment$ make test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published