Skip to content

Georgebingi/payflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

PayFlow β€” Continuous Subscription Billing on Stellar

πŸš€ Core Feature

Real-time pay‑as‑you‑go subscriptions where users pay only while consuming a service.

πŸ— Architecture Overview

Web UI β†’ Billing API β†’ Pricing Engine β†’ Stellar Network

πŸ“‚ Repository Structure

payflow/
β”œβ”€β”€ web/
β”œβ”€β”€ api/
β”œβ”€β”€ billing-engine/
β”œβ”€β”€ workers/
β”œβ”€β”€ database/
β”œβ”€β”€ docs/
β”œβ”€β”€ tests/
└── README.md

βš™οΈ Setup Instructions

Prerequisites

  • Node.js β‰₯ 18
  • PostgreSQL β‰₯ 14
  • Redis β‰₯ 6

Installation

git clone https://github.com/your-org/payflow.git
cd payflow
npm install

Environment

PORT=3000
DATABASE_URL=postgres://localhost/payflow
REDIS_URL=redis://localhost:6379
STELLAR_NETWORK=testnet
HORIZON_URL=https://horizon-testnet.stellar.org
JWT_SECRET=super_secret

Run

npm run start:api
npm run start:workers
cd web && npm run dev

🏁 Getting Started

Create plan β†’ Share link β†’ Users subscribe β†’ Billing streams live

πŸ§‘β€πŸ’» Coding Standards

Clean architecture, REST APIs, β‰₯80% test coverage.

πŸ”€ Pull Request Guidelines

Feature branch, passing CI, updated docs.

πŸ—Ί Roadmap

Q1: Core engine
Q2: Coupons & team plans
Q3: Marketplace integrations

πŸ“œ License

Apache 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors