Add .env.example and next-env.d.ts
This commit is contained in:
16
.env.example
Normal file
16
.env.example
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Stripe Configuration
|
||||||
|
# Get your keys from https://dashboard.stripe.com/apikeys
|
||||||
|
STRIPE_SECRET_KEY=sk_test_your_secret_key_here
|
||||||
|
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key_here
|
||||||
|
|
||||||
|
# Stripe Webhook Secret
|
||||||
|
# Get this from https://dashboard.stripe.com/webhooks after creating an endpoint
|
||||||
|
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
|
||||||
|
|
||||||
|
# Stripe Price IDs
|
||||||
|
# Create these in your Stripe Dashboard under Products > Pricing
|
||||||
|
STRIPE_PRICE_MONTHLY=price_your_monthly_price_id
|
||||||
|
STRIPE_PRICE_YEARLY=price_your_yearly_price_id
|
||||||
|
|
||||||
|
# App URL
|
||||||
|
NEXT_PUBLIC_APP_URL=https://dashcaddy.net
|
||||||
6
next-env.d.ts
vendored
Normal file
6
next-env.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/// <reference types="next" />
|
||||||
|
/// <reference types="next/image-types/global" />
|
||||||
|
import "./.next/types/routes.d.ts";
|
||||||
|
|
||||||
|
// NOTE: This file should not be edited
|
||||||
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||||
Reference in New Issue
Block a user