From a4d3c905f8d436084a88476475e2c2cb9521627b Mon Sep 17 00:00:00 2001 From: snowgitea Date: Wed, 29 Apr 2026 10:53:13 +0800 Subject: [PATCH] chore: add backend/.env.example --- backend/.env.example | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..a858e00 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,11 @@ +# Environment variables declared in this file are automatically made available to Prisma. +# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema + +# 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 + +# 数据库连接字符串(SQLite 示例) +DATABASE_URL="file:./dev.db" + +# 后端服务端口(默认 3001) +# PORT=3001