BudgetBuddyDE

Subscription-Service

Overview

Note

This “service” is no longer supported, as subscriptions (recurring payments) are now processed directly in the Pocketbase instance as implemented in the commit 6dec29e779a4321be07d3d4dc1db96dccefe34bb

The Subscription Service seamlessly manages recurring payments for users within the app. It automatically executes the stored payments and generates transactions that users can view within the app.

Installation

1. Clone the repository

 
git clone git@github.com:BudgetBuddyDE/Subscription-Service.git

2. Install dependencies

npm install

3. Set all required environment variables

cp .env.example .env

Adjust the values in the .env file according to your setup.

4. Start the application

npm run start

Docker

Attention

You may need to sign into the Github Image Registry by using echo <GH_PAT> | docker login ghcr.io -u <GH_USERNAME> --password-stdin

1. Pull the image

docker pull ghcr.io/budgetbuddyde/subscription-service:latest

2. Start an container

docker run --env-file .env ghcr.io/budgetbuddyde/subscription-service:latest

On this page