Skip to content

IBAN validation API - Exercise for AB Luminor Junior Software Engineer position. More info in description.

Notifications You must be signed in to change notification settings

leopardcoder/ibanValidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


LinkedIn


Table of Contents
  1. About The Project
  2. Getting Started
  3. Project Structure
  4. Contact

About The Project

This is IBAN code validation API written in Node Js.

  • API server runs on 3000 port. Port number can be configured in server.js file.
  • After server starts, API can be accessed at localhost:3000.
  • API has one endpoint /ibanvalidation/:params
  • Params can be one IBAN code, or many codes separated with comma. Example: /ibanvalidation/LT487044060008228908,LT487044060008228909,...,N
  • API returns a JSON object that can be used in a backend or frontend applications.
  • JSON structure: [{"iban":"LT487044060008228908","validity":true},{"iban":"AD1400080001001234567891","validity":false}]
  • Validation algorithm runs asynchronously so it doesn't block server and allows API requests for many users.
  • To test how API works after installation and run instructions simply enter http://localhost:3000/ibanvalidation/LT487044060008228908,LT487044060008228909 in your browser and press Enter. API will return JSON object with results.
  • There are unit tests for validation algorithm functions.

(back to top)

Built With

The section below shows a list of used technologies and libraries.

(back to top)

Getting Started

This is an example of how you may set up project locally.
To get a local copy up and running follow these simple Installation steps.

Installation

  1. Download code from:
    https://github.com/leopardcoder/ibanvalidation
  2. Run NPM packages
    npm install
  3. Run:
    node server.js

Running tests:

For tests run:

npm test

(back to top)

Project Structure

  • /ibanValidation-main/ the root folder
  • /ibanValidation-main/data/ list of IBAN length with country codes.
  • /ibanValidation-main/src/ validation algorithm source file and test file.
  • /ibanValidation-main/routes/ ibanValidation route source file.

(back to top)

Contact

Linas Mockus - linas.mockus@gmail.com

Project Link: [https://github.com/leopardcoder/ibanValidation)

(back to top)

About

IBAN validation API - Exercise for AB Luminor Junior Software Engineer position. More info in description.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published