8000 GitHub - stratosnet/pdj: PDJ (Pay DJ) - Django service for manage recurring and non recurring subscriptions payment in one place
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ pdj Public

PDJ (Pay DJ) - Django service for manage recurring and non recurring subscriptions payment in one place

License

Notifications You must be signed in to change notification settings

stratosnet/pdj

Repository files navigation

PDJ Python 3.11tLicense: Elastic License 2.0

PDJ

PDJ - Service to manage subscriptions for providers in one place

Motivation

The main motivation was to build a simple microservice to manage subscriptions, with the potential to extend it later to include feature planning — all in one place. There are two API tags: one for the frontend (e.g., order checkout, subscriptions) and another for backend usage (e.g., polling user subscriptions for sync). We aimed for a lightweight API — as an alternative to complex solutions like HypeSwitch or Kill Bill — while still providing admin capabilities by using Django as the core framework.

Available payment providers

  • PayPal
  • Stripe (in TODO)

Getting started

  • Development (and for quick run): dev
  • FAQ: faq
  • Environment configuration: env
  • Production setup: prod

Development

To get started quickly, we recommend you to use and launch project through docker compose. There is some short steps.

  1. Create base .env file

    cp .env.copy .env
    
  2. Run the project

    docker compose -f docker-compose.local.yml up -d
    
  3. Initialize migrations

    docker compose -f docker-compose.local.yml exec pdj_server ./manage.py migrate
    
  4. Create init data

    docker compose -f docker-compose.local.yml exec pdj_server ./manage.py init_data
    

Contributing

All contributions to improve the project are welcome! In particular, new providers, bug and documentation fixes are really appreciated.

License

PDJ is fair-code distributed under Elastic License 2.0 (ELv2).

About

PDJ (Pay DJ) - Django service for manage recurring and non recurring subscriptions payment in one place

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0