Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jumpogpo/generate-promptpay-qr

This project is aimed at creating a QR Code for PromptPay transactions with various banks, allowing users to input their phone number and desired amount. It is compatible with all banks, such as KBank and SCB, among others.
https://github.com/jumpogpo/generate-promptpay-qr

promtpay qr-generator qrcode qrcode-generator typescript

Last synced: 4 days ago
JSON representation

This project is aimed at creating a QR Code for PromptPay transactions with various banks, allowing users to input their phone number and desired amount. It is compatible with all banks, such as KBank and SCB, among others.

Awesome Lists containing this project

README

        


Angpao Logo

## 👋 Description
This project is aimed at creating a QR Code for PromptPay transactions with various banks, allowing users to input their phone number and desired amount. It is compatible with all banks, such as KBank and SCB, among others.

## 🧃 Preface

I want to create a program that generates a QR Code and displays it on the terminal for receiving payments. So, I developed this project.

## 📝 How to use?

- Clone this project following the installation instructions.
- Installing all the necessary packages.
- Run the program.

## 📚 Installation

```bash
# Clone project
$ git clone https://github.com/jumpogpo/generate-promptpay-qr.git
$ cd generate-promptpay-qr

# Install packages
$ npm install
```

## 📺 Running the app

```bash
# Build
$ npm run build

# Run
# Example node ./dist/index.js 0123456789 100
$ node ./dist/index.js phoneNumber amount
```

## 🤝 Reference

- TypeScript - [https://www.typescriptlang.org/](https://www.typescriptlang.org/)
- promptpay-qr - [https://www.npmjs.com/package/promptpay-qr](https://www.npmjs.com/package/promptpay-qr)