Files & Configuration
.env
What It Is
A file that stores environment variables (settings and secrets) for your project
Analogy
A sticky note with passwords and settings you keep in your desk drawer — never in a shared folder
Try It Out
ENV.env
| 1 | DATABASE_URL=postgresql://localhost:5432/myapp |
| 2 | API_KEY=sk-abc123xyz789 |
| 3 | NEXT_PUBLIC_SITE_URL=http://localhost:3000 |
| 4 | SECRET_KEY=super-secret-do-not-share |
Related Terms in Files & Configuration
Dotfile
Secret notes you keep in a drawer. They're there, but you have to know to look for them
.env.local
Your personal sticky note that never leaves your desk, even if you share the project with others
.gitignore
A "do not pack" list for your suitcase — these items stay home no matter what
CLAUDE.md
A briefing document you give to a new team member so they understand how things work here