-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,272 changed files
with
30,434 additions
and
142,759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# || 🔥 [Important note]: Please note that currently, v1.2.6 requires specifying Clerk, as its API has changed. | ||
# || 🔥 [Important note]: Please note that currently, v1.3.0-canary.7 requires specifying Clerk, as its API has changed. | ||
# || We are working on making Clerk optional again. However, all other environment variables are optional. | ||
# || If this statement is incorrect, meaning something is broken somewhere, please let us know. | ||
# || https://github.com/blefnk/relivator-nextjs-template | ||
|
@@ -20,15 +20,17 @@ NEXT_PUBLIC_APP_URL="http://localhost:3000" | |
# || When the following connection string is set, you can run "pnpm db:push" to create/update the database tables. | ||
# || If you've just created the database, please give your provider a moment for the database to be fully created. | ||
|
||
# Type here any word, e.g. your project name, you want to prepend to your database table names | ||
NEXT_PUBLIC_DATABASE_PREFIX="relivator" | ||
|
||
# Database (https://neon.tech) (it's recommended to check 'Pooled connection' to get the production URL) | ||
DATABASE_URL="" | ||
|
||
# || DATABASE URL EXAMPLES (pg: try 'postgresql://' if 'postgres://' does not work) | ||
# || DATABASE URL EXAMPLES (pg: try 'postgres://' if 'postgresql://' does not work) | ||
# || --------------------------------------------------------------- | ||
# || - Postgres ➞ Neon ➞ postgresql://database_owner:password@hostname/database?sslmode=require | ||
# || - Postgres ➞ Planetscale ➞ mysql://username:password@hostname/database?ssl={"rejectUnauthorized":true} | ||
# || - Postgres ➞ Private ➞ postgres://username:[email protected]:5432/db | ||
# || - Postgres ➞ Railway ➞ postgres://root:password@hostname:36906/railway | ||
# || - Postgres ➞ Neon (recommended for most users) ➞ postgresql://database_owner:password@hostname/database?sslmode=require | ||
# || - Postgres ➞ Private (not tested yet with latest Relivator version) ➞ postgresql://username:[email protected]:5432/db | ||
# || - Postgres ➞ Railway (not tested yet with latest Relivator version) ➞ postgresql://root:password@hostname:36906/railway | ||
# || --------------------------------------------------------------- | ||
|
||
# || We are using Drizzle and Neon as default database provider | ||
|
@@ -43,9 +45,8 @@ DATABASE_URL="" | |
# AUTHENTICATION | ||
# ==================================================== | ||
|
||
# || Please visit `reliverse.config.ts` and set the `authProvider` | ||
# || to either "clerk" or "authjs". Fake session data will be assigned | ||
# || to your users if DATABASE_URL or authProvider are not set. | ||
# || Fake session data will be assigned to your users | ||
# || if DATABASE_URL or Clerk api keys are not set. | ||
|
||
# Required for both "authjs" and "clerk" authProviders. | ||
# https://authjs.dev/guides/environment-variables | ||
|
@@ -69,6 +70,8 @@ AUTH_GOOGLE_ID="" | |
# Ensure the domain is connected in production (for PageSpeed Insights). | ||
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="" | ||
CLERK_SECRET_KEY="" | ||
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/signin" | ||
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/signup" | ||
# Additional optional feature, to enable visit: | ||
# Clerk Dashboard > [app] > Organizations Settings | ||
NEXT_PUBLIC_ORGANIZATIONS_ENABLED="false" | ||
|
@@ -90,13 +93,19 @@ NEXT_PUBLIC_ORGANIZATIONS_ENABLED="false" | |
# For API keys: https://dashboard.stripe.com/test/apikeys | ||
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="" | ||
STRIPE_SECRET_KEY="" | ||
STRIPE_API_KEY="" | ||
|
||
# Please read the instructions at the end of the file. | ||
STRIPE_WEBHOOK_SIGNING_SECRET="" | ||
STRIPE_WEBHOOK_SECRET="" | ||
|
||
# For product setup: https://dashboard.stripe.com/test/products | ||
STRIPE_PROFESSIONAL_SUBSCRIPTION_PRICE_ID="" | ||
STRIPE_ENTERPRISE_SUBSCRIPTION_PRICE_ID="" | ||
# Stripe Product and Price IDs for your created products | ||
# found at https://dashboard.stripe.com/test/products | ||
STRIPE_STD_MONTHLY_PRICE_ID="" | ||
STRIPE_PRO_MONTHLY_PRICE_ID="" | ||
|
||
# ==================================================== | ||
# RELIVERSE ADDONS | ||
|
@@ -146,9 +155,12 @@ UPLOADTHING_APP_ID="" | |
# Email System Configuration | ||
# Get API keys: https://resend.com | ||
NEXT_PUBLIC_RESEND_API_KEY="" | ||
|
||
# Set email: https://resend.com/domains or use Resend's test email | ||
NEXT_PUBLIC_RESEND_EMAIL_FROM="[email protected]" | ||
# We need to register a domain with Resend to send emails from | ||
# Register a domain at https://resend.com/domains | ||
# Or we can use this email provided by resend for only testing: "[email protected]" | ||
EMAIL_FROM_ADDRESS="[email protected]" | ||
|
||
# https://novu.co | ||
NOVU_SECRET_KEY="" | ||
|
@@ -162,6 +174,12 @@ NOVU_BRIDGE_URL="" | |
# || Never share or commit the .env file. It has been added to .gitignore. | ||
# || When adding new variables, update the schema in the /src/env.js file. | ||
|
||
# upstash | ||
# https://YOUR_UPSTASH_REDIS_REST_URL | ||
UPSTASH_REDIS_REST_URL="" | ||
# ••••••••••••• | ||
UPSTASH_REDIS_REST_TOKEN="" | ||
|
||
# Loglib Analytics (https://loglib.io) | ||
LOGLIB_ID="" | ||
|
||
|
@@ -188,10 +206,10 @@ DEMO_NOTES_ENABLED="false" | |
# 3. Open 3 terminals: | ||
# - Terminal 1: "pnpm dev" | ||
# - Terminal 2: "stripe login" | ||
# - Terminal 3: "pnpm stripe:listen" | ||
# - Terminal 3: "pnpm dev:stripe" or "pnpm stripe:listen" | ||
# 4. Copy the signing secret from the terminal and paste it into STRIPE_WEBHOOK_SIGNING_SECRET. | ||
# 5. Run "stripe trigger payment_intent.succeeded", wait for it to complete, then click Done. | ||
# Keep "pnpm stripe:listen" enabled when testing Stripe on localhost. | ||
# Keep "pnpm dev:stripe" or "pnpm stripe:listen" enabled when testing Stripe on localhost. | ||
# Test data: 4242424242424242 | 12/34 | 567 | ||
|
||
# [STRIPE WEBHOOK FOR PRODUCTION] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.