You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: document stripe branch and add propagate/CI support (#229)
* docs: document stripe branch and add propagate/CI support (#228)
Point main docs and README at the optional stripe branch, document the
merge recipe and conflict-prone files, and extend propagate.yml and
test.yml so stripe receives main updates and runs CI with dummy Stripe env.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(ci): keep Test workflow push triggers unfiltered
Narrowing push to main/stripe would drop CI on feature branches and
modal/hetzner; only extend pull_request targets for stripe.
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: chriscarrollsmith <chriscarrollsmith@gmail.com>
Copy file name to clipboardExpand all lines: user_guide/00-overview.qmd
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ The template also includes full-featured secure auth with:
24
24
- Password recovery flow
25
25
- Role-based access control system
26
26
27
+
Optional [organization-scoped Stripe billing](https://github.com/Promptly-Technologies-LLC/fastapi-jinja2-postgres-webapp/tree/stripe) (Checkout, Customer Portal, webhooks) lives on the **`stripe`** branch.
28
+
27
29
## Design Philosophy
28
30
29
31
The design philosophy of the template is to prefer low-level, best-in-class open-source frameworks that offer flexibility, scalability, and performance without vendor-lock-in. You'll find the template amazingly easy not only to understand and customize, but also to deploy to any major cloud hosting platform.
Copy file name to clipboardExpand all lines: user_guide/04-customization.qmd
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,20 @@ Your custom Python backend code should go primarily in the `routers/app/` and `u
32
32
33
33
For the frontend, you will also need to develop custom Jinja2 templates in the `templates/` folder and add custom static assets in `static/`.
34
34
35
+
### Billing (optional)
36
+
37
+
Organization-scoped Stripe billing is maintained on the [`stripe`](https://github.com/Promptly-Technologies-LLC/fastapi-jinja2-postgres-webapp/tree/stripe) branch. See `user_guide/07-billing.qmd` on that branch for Dashboard setup, webhooks, fork helpers (`org_has_active_subscription`), and a manual end-to-end checklist.
When merging, expect conflicts in shared core files such as `main.py`, `pyproject.toml`, `utils/core/db.py`, `routers/core/organization.py`, header/organization templates, `tests/conftest.py`, and `.env.example`. Resolve by keeping billing additions from `stripe` while preserving your fork-specific changes.
48
+
35
49
### Testing
36
50
37
51
The project uses Pytest for unit testing. It's highly recommended to write and run tests before committing code to ensure nothing is broken!
Copy file name to clipboardExpand all lines: user_guide/05-deployment.qmd
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ There are *many* hosting options available for each of these services; this guid
13
13
14
14
::: {.callout-note}
15
15
Deployment artifacts (Dockerfiles, deploy scripts, compose files, etc.) are kept on separate git branches — one per deployment target — to avoid cluttering the main branch. See the `modal` branch for Modal deployment files and the `hetzner` branch for Hetzner Cloud deployment files. The documentation below describes how to use them.
16
+
17
+
Optional organization-scoped Stripe billing (Checkout, Customer Portal, webhooks) lives on the [`stripe`](https://github.com/Promptly-Technologies-LLC/fastapi-jinja2-postgres-webapp/tree/stripe) branch — not on `main`. Deploy billing-enabled apps from `stripe` (or after merging it into your fork); see `user_guide/07-billing.qmd` on that branch for setup.
Copy file name to clipboardExpand all lines: user_guide/06-contributing.qmd
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,10 @@ To contribute code to the project:
43
43
- Provide a clear description of the changes
44
44
- Link to any related issues
45
45
46
+
### Optional branches
47
+
48
+
Core template changes on `main` propagate automatically to `modal`, `hetzner`, and `stripe` via CI. Pull requests to `main` that touch shared files (`main.py`, `pyproject.toml`, `utils/core/db.py`, `routers/core/organization.py`, templates, `tests/conftest.py`, `.env.example`) may need manual conflict resolution when those changes are merged into `stripe`. See the [customization guide](https://promptlytechnologies.com/fastapi-jinja2-postgres-webapp/user-guide/customization.html) for the `git merge upstream/stripe` recipe.
49
+
46
50
### Rendering the documentation
47
51
48
52
The documentation website is built with [Great Docs](https://posit-dev.github.io/great-docs/). If you make changes to the `.qmd` files in the `user_guide/` folder, you will need to rebuild the docs with Great Docs.
0 commit comments