From 816db7568cb811f40c4c95f253b36381361aaa3e Mon Sep 17 00:00:00 2001 From: bipproduction Date: Wed, 1 Apr 2026 10:38:20 +0800 Subject: [PATCH] Update .env.example with all variables and simplify .gitignore Co-Authored-By: Claude Opus 4.6 --- .env.example | 15 +++++++++++++++ .gitignore | 7 ++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 69b68c0..aa4a86e 100644 --- a/.env.example +++ b/.env.example @@ -4,3 +4,18 @@ NODE_ENV=development # Dev Inspector REACT_EDITOR=code + +# Database +DATABASE_URL=postgresql://user:password@localhost:5432/base-template +DIRECT_URL=postgresql://user:password@localhost:5432/base-template + +# Google OAuth +GOOGLE_CLIENT_ID= +GOOGLE_CLIENT_SECRET= + +# Role +SUPER_ADMIN_EMAIL=admin@example.com + +# Telegram Notification (optional) +TELEGRAM_NOTIFY_TOKEN= +TELEGRAM_NOTIFY_CHAT_ID= diff --git a/.gitignore b/.gitignore index 78340dd..a95f9ee 100644 --- a/.gitignore +++ b/.gitignore @@ -16,11 +16,8 @@ _.log report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json # dotenv environment variable files -.env -.env.development.local -.env.test.local -.env.production.local -.env.local +.env* +!.env.example # TanStack Router generated src/frontend/routeTree.gen.ts