Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jumpogpo/golang-truewallet-api
This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.
https://github.com/jumpogpo/golang-truewallet-api
fiber-go golang truewallet truewallet-api truewallet-gift-vouchers truewallet-giftcode
Last synced: about 14 hours ago
JSON representation
This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.
- Host: GitHub
- URL: https://github.com/jumpogpo/golang-truewallet-api
- Owner: jumpogpo
- Created: 2023-10-17T05:05:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-27T12:15:34.000Z (about 1 year ago)
- Last Synced: 2024-06-21T17:55:45.556Z (5 months ago)
- Topics: fiber-go, golang, truewallet, truewallet-api, truewallet-gift-vouchers, truewallet-giftcode
- Language: Go
- Homepage: https://truewallet.xviper.xyz/
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 👋 Description
This project allows you to easily and quickly host an API for redeeming TrueWallet vouchers. You only need to enter the voucher code and mobile number.## 🧃 Preface
I want to create an API that can easily redeem TrueWallet vouchers and ensure fast processing speeds. To achieve this, I am using Golang to develop the project.
## 📝 How to use?
- Clone this project following the installation instructions.
- Setting the port in the .env file.
- Installing all the necessary packages.
- Run the program.## 📚 Installation
```bash
# Clone project
$ git clone https://github.com/jumpogpo/golang-truewallet-api.git
$ cd golang-truewallet-api# Install packages
$ go mod download
```## 📺 Running the app
```bash
# run
$ go run .# build
$ go build .
```## ▶️ How to use
- Method: `Post`
- Url: `http://localhost:{port}/redeem/{angpao_code}`
- Body:
```json
{
"mobile": "phoneNumber"
}
```## 🤝 Reference
- TrueWallet - [https://www.truemoney.com/](https://www.truemoney.com/)
- Golang - [https://go.dev/](https://go.dev/)
- Fiber - [https://docs.gofiber.io/](https://docs.gofiber.io/)