Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
607 B
Plaintext
27 lines
607 B
Plaintext
# Template SaaS Backend Configuration
|
|
# Copy this file to .env and adjust values
|
|
|
|
# Server
|
|
NODE_ENV=development
|
|
PORT=3001
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_NAME=template_saas_dev
|
|
DB_USER=gamilit_user
|
|
DB_PASSWORD=GO0jAOgw8Yzankwt
|
|
|
|
# JWT
|
|
JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
|
JWT_EXPIRES_IN=15m
|
|
JWT_REFRESH_EXPIRES_IN=7d
|
|
|
|
# CORS
|
|
CORS_ORIGIN=http://localhost:3000
|
|
|
|
# Stripe Integration (optional - leave empty to disable)
|
|
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
|
|
STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key
|
|
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
|