Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: "Customization" section and further tweaks #98

Merged
merged 1 commit into from
Apr 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,35 +105,7 @@ new SaaS app.
> [Stripe's test credit cards](https://stripe.com/docs/testing) to make test
> payments while in Stripe's test mode.

## Deploying to Production

This section shows how to get your SaaS ready for production and deploy it.

### Authentication

TODO

### Payments

[Set up your branding on Stripe](https://dashboard.stripe.com/settings/branding),
as a user will be taken to Stripe's checkout page when they upgrade.

Keep your `customers` database up to date with billing changes by
[registering a webhook endpoint in Stripe](https://stripe.com/docs/development/dashboard/register-webhook).

- Endpoint URL: `https://{{ YOUR DOMAIN }}/api/subscription`
- Listen to `Events on your account`
- Select: `customer.subscription.created` and `customer.subscription.deleted`

### Deno Deploy

TODO

### Any VPS via Docker

TODO

## Extending Deno SaaSKit
## Customization

### Global Constants

Expand All @@ -158,6 +130,34 @@ You can customize theme options such as spacing, color, etc. By default, Deno
SaaSKit comes with `primary` and `secondary` colors predefined within
`twind.config.ts`. Change these values to match your desired color scheme.

## Deploying to Production

### Authentication

TODO

### Customer Portal Branding (Stripe)

[Set up your branding on Stripe](https://dashboard.stripe.com/settings/branding),
as the user will be taken to Stripe's checkout page when they upgrade.

### Webhooks for Subscriptions (Stripe)

Keep your `customers` database up to date with billing changes by
[registering a webhook endpoint in Stripe](https://stripe.com/docs/development/dashboard/register-webhook).

- Endpoint URL: `https://{{ YOUR DOMAIN }}/api/subscription`
- Listen to `Events on your account`
- Select `customer.subscription.created` and `customer.subscription.deleted`

### Deno Deploy

TODO

### Any VPS via Docker

TODO

## Architecture

### Authentication
Expand Down