Aspire Connectivity
Developer

Environment Configuration

Current local environment variable handling and secret boundaries.

Environment Configuration

The repository keeps local environment files out of Git. Never commit credentials or use a NEXT_PUBLIC_ prefix for server secrets.

Neon manages the root .env file after the repository is linked to its Neon project. The Prisma configuration in packages/db/prisma7.config.ts reads DATABASE_URL from that root file for Prisma commands. The db:verify command reads the same local value for its read-only shared client query.

Production deployments use a different DATABASE_URL configured in Vercel. Database configuration is environment-specific, while the Prisma schema and reviewed migration history stay the same.

Application-specific environment variables should be added only when the application feature that uses them is implemented. No application authentication, provider, or database-query environment configuration is currently documented because those features do not yet exist.

On this page