From a123482b891477c53c673bc76d2e570831924954 Mon Sep 17 00:00:00 2001 From: Pierre Ryssen Date: Tue, 3 Mar 2026 15:48:47 +0100 Subject: [PATCH] exemple: add a .env.exemple to create your own .env --- .env.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..42c21e5 --- /dev/null +++ b/.env.example @@ -0,0 +1,17 @@ +# Environment variables declared in this file are NOT automatically loaded by Prisma. +# Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun +# to load environment variables from .env files: https://pris.ly/prisma-config-env-vars. + +# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. +# See the documentation for all the connection string options: https://pris.ly/d/connection-strings + +# The following `prisma+postgres` URL is similar to the URL produced by running a local Prisma Postgres +# server with the `prisma dev` CLI command, when not choosing any non-default ports or settings. The API key, unlike the +# one found in a remote Prisma Postgres URL, does not contain any sensitive information. + +DATABASE_URL="postgresql://wyview:wyview@localhost:5432/wyview" + +NEXT_PUBLIC_PASSWORD=Azerty123 +NEXTAUTH_SECRET=secret +NEXTAUTH_URL=http://localhost:3000 +AUTH_SECRET="openssl rand -base64 32" \ No newline at end of file