Initial commit
This commit is contained in:
19
templates/nextjs/.env.example
Normal file
19
templates/nextjs/.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
# TinaCloud Credentials
|
||||
# Get these from https://app.tina.io after creating a project
|
||||
|
||||
# Client ID (public, safe to expose)
|
||||
NEXT_PUBLIC_TINA_CLIENT_ID=your_client_id_here
|
||||
|
||||
# Read-only token (keep secret, never commit)
|
||||
TINA_TOKEN=your_read_only_token_here
|
||||
|
||||
# Git branch (auto-detected on Vercel/Netlify, set manually for local dev)
|
||||
# GITHUB_BRANCH=main
|
||||
|
||||
# For self-hosted backend with Auth.js
|
||||
# NEXTAUTH_SECRET=generate_a_secret_key_here
|
||||
# TINA_PUBLIC_IS_LOCAL=false
|
||||
|
||||
# For self-hosted with OAuth providers (example: Discord)
|
||||
# DISCORD_CLIENT_ID=your_discord_client_id
|
||||
# DISCORD_CLIENT_SECRET=your_discord_client_secret
|
||||
Reference in New Issue
Block a user