Skip to content

Open Payment API is a Node.js application that provides a comprehensive API for bank operations.

Notifications You must be signed in to change notification settings

ugwusomto/open-payment-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open Payment API

Open Payment API is a Node.js application that provides a comprehensive API for bank operations. It offers functionalities for both users and administrators, making it a versatile solution for financial management.

Features

  • Authentication: Secure authentication endpoints for users and admins.

  • Role Management: Admins can manage user roles and permissions.

  • Account Management:

    • Create new accounts.
    • Deposit funds.
    • Transfer funds between accounts.
    • Withdraw funds.
    • Manage payees for easy transfers.
    • Loan application (implementation details not provided).
  • Transactions: Track and manage financial transactions.

  • Payment Gateway Integration: Integrates with Paystack for secure online payments.

    Installation

  1. Clone the repository:

    git clone https://github.com/ugwusomto/kudai-backend.git
  2. Navigate to the project directory:

    cd kudai-bank
  3. Install dependencies:

    npm install
  4. Start the server:

    npm run dev

Prerequisites

Make sure you have the following installed:

  • Node.js
  • MySQL database or XAMPP/MAMP/LAMP

.env Configuration

Modify the .env file with your database and other configurations:

APPNAME="KUDAI BANK"
DB_USERNAME=root
DB_PASSWORD=''
DB_NAME=kudai_bank
DB_HOST=127.0.0.1
DB_DIALECT=mysql
DB_PORT=3306
DB_ALTER=false
JWT_KEY='sdfssffsdffsf'
MAIL_USER=' '
MAIL_PASSWORD=' '
PAYSTACK_SECRET_KEY=''
PAYSTACK_CALLBACK_URL=''

About

Open Payment API is a Node.js application that provides a comprehensive API for bank operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published