Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emmo00/payment-notify-service
https://github.com/emmo00/payment-notify-service
api express flutterwave nodemailer sendinblue
Last synced: about 15 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/emmo00/payment-notify-service
- Owner: Emmo00
- Created: 2024-01-11T00:09:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-11T00:46:56.000Z (about 1 year ago)
- Last Synced: 2024-01-12T09:04:46.979Z (about 1 year ago)
- Topics: api, express, flutterwave, nodemailer, sendinblue
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# payment-notify-service
This service notifies you by email whenever you have a successful payment made to your `FLUTTERWAVE` account.
## Tech Stack
- Node.js
- Express.js
- Nodemailer, Sendinblue## Endpoints
```txt
GET /api/status - Status Ping
POST /api/webhook-callback - Webhook Callback
```## Environment Variables
```txt
NODE_ENV=
PORT=
CORS_ORIGIN=SENDINBLUE_API_KEY=
EMAIL_FROM=
EMAIL_TO=FLW_PUBLIC_KEY=
FLW_SECRET_KEY=
FLW_SECRET_HASH=
```## Get it started
Clone Repo.
```bash
git clone
```Install deps.
```bash
npm install
```create a file called `.env` in the root of the project and fill in the environment variables
Create a file in to root of the directory called `db.json`, and add the following content to it, than save:
```json
{ "transactions": [] }
```Start Project
```bash
npm run start
```