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.
-
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.
-
Clone the repository:
git clone https://github.com/ugwusomto/kudai-backend.git
-
Navigate to the project directory:
cd kudai-bank
-
Install dependencies:
npm install
-
Start the server:
npm run dev
Make sure you have the following installed:
- Node.js
- MySQL database or XAMPP/MAMP/LAMP
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=''