-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (21 loc) · 1.29 KB
/
.env.example
File metadata and controls
28 lines (21 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Environment variables template
# Copy this to .env and fill in your values
# API Configuration
API_TITLE="Next.js Functional API"
API_VERSION="1.0.0"
API_DESCRIPTION="🚀 Production-ready Next.js 16+ full-stack template with TypeScript, MongoDB, Tailwind CSS v4, and comprehensive tooling. Features Zod-based schemas with auto-generated OpenAPI documentation, Orval SDK with React Query hooks, functional architecture with zero decorators, dark mode support, custom UI components with Framer Motion, and complete developer experience with ESLint, Prettier, and Husky. Perfect for building scalable web applications with modern functional patterns. ✨"
# Database Configuration
MONGODB_URI=your_mongodb_connection_string_here
# Server URLs
# For local development:
NEXT_PUBLIC_API_URL="http://localhost:3000"
# Encryption Configuration
# Generate a strong 32+ character key for production
NEXT_PUBLIC_ENCRYPTION_SECRET="your-32-character-encryption-key-here-change-this-in-production"
# For production (set in Vercel dashboard):
# NEXT_PUBLIC_API_URL="https://template-nextjs-backend.vercel.app"
# Node Environment (automatically set by Next.js)
# NODE_ENV="development"
# Vercel automatically provides these in production:
# VERCEL_URL (automatically set by Vercel)
# VERCEL_ENV (automatically set by Vercel)