Skip to content

Commit

Permalink
v1.3.0-canary.7
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Oct 28, 2024
1 parent d850430 commit 75da183
Show file tree
Hide file tree
Showing 1,272 changed files with 30,434 additions and 142,759 deletions.
42 changes: 30 additions & 12 deletions .env.example
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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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=""
Expand All @@ -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=""

Expand All @@ -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]
Expand Down
171 changes: 0 additions & 171 deletions .gitattributes

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
__pycache__/
*.py[oc]
*.egg-info/
.now/
.venv/
.ruff_cache/
.wheels/
Expand All @@ -100,3 +101,4 @@ coverage/
.million/
.vercel
.env*.local
.unlighthouse
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

Loading

0 comments on commit 75da183

Please sign in to comment.