Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DATABASE_URL=
JWT_SECRET=
REDIS_URL=
STRIPE_SECRET=
GEMINI_API_KEY=
27 changes: 6 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.env
.env.local
.env.production
Comment on lines +3 to +5
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore ignore for mode-specific local env files

Narrowing the ignore rules to .env, .env.local, and .env.production drops coverage that previously came from *.local, so files like .env.production.local / .env.development.local are now tracked by default. Those files are commonly used for machine-specific secrets, so this change creates a realistic path to accidentally committing API keys during normal local or release workflows.

Useful? React with 👍 / 👎.

.vercel
coverage
*.log
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Loading