From 000bbb971e03173a91e7d4c18c0b9a047f575d99 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:12:21 +0330 Subject: [PATCH] Import source: backend/.env.example Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- backend/.env.example | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..ea80bce --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,21 @@ +PORT=4001 +NODE_ENV=development +FRONTEND_URL=http://localhost:5173 +PUBLIC_APP_URL=http://localhost:5173 +DATA_DIR=./data +MAX_FILE_SIZE_BYTES=524288000 +PREVIEW_MAX_FILE_SIZE_BYTES=25000000 +JWT_ACCESS_SECRET=replace-with-64-char-random-hex +JWT_REFRESH_SECRET=replace-with-64-char-random-hex +ADMIN_API_KEY=replace-with-64-char-random-hex +BCRYPT_ROUNDS=12 + +# Future production adapters from CONTINUE.md +DATABASE_URL=postgresql://user:pass@localhost:5432/cshare +REDIS_URL=redis://localhost:6379 +STORAGE_ENDPOINT=https://.r2.cloudflarestorage.com +STORAGE_BUCKET=cshare-files +STORAGE_ACCESS_KEY= +STORAGE_SECRET_KEY= +STORAGE_PUBLIC_URL=https://files.example.com +RESEND_API_KEY=