/nigerian-banks

An API that provides Nigerian bank logos, slug and code.

Primary LanguageGoMIT LicenseMIT

Nigerian Banks

hero

Introduction

This project aims to simplify bank data used by developers for Fintech APIs (Flutterwave and Paystack). Paystack uses bank_code to process transfers to accounts while Flutterwave uses bank_slug for the same operation. As a bonus, bank logos are also returned. How is this useful? -- can be used to spice up your bank dropdown/list UI, It doesn't have to be boring.

Usage

Make a get request to https://nigerianbanks.xyz

Prerequisites

  • Go installed on your machine
  • Docker installed on your machine (optional)

Installation

  • Clone this repository 🤷‍♂️ (obviously)
git clone https://github.com/ichtrojan/nigerian-banks.git
  • Change directory
cd nigerian-banks
  • Duplicate .env.example to .env
cp .env.example .env
  • Run application
go run server.go

Alternatively, if you are a Docker fanboy, you can run:

docker-composer up

Your application will be served on port 9090 by default, you can change that by modifying the .env file.

Contributors

Authors