Skip to content
Open
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 @@
# API Configuration
VITE_API_URL=http://localhost:3000/api

# Note: The API key is configured in the backend (server/.env)
# Frontend doesn't need direct access to the AI API
150 changes: 150 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# ==================================
# πŸ”’ Lovable AI Tutor - .gitignore
# ==================================

# ==================================
# Environment Variables (CRITICAL!)
# ==================================
.env
.env.local
.env.development
.env.test
.env.production
.env.*.local
server/.env
server/.env.*

# API Keys and Secrets (NEVER COMMIT!)
*.key
*.pem
*.p12
secrets/
config/secrets.json

# ==================================
# Dependencies
# ==================================
node_modules/
bower_components/
jspm_packages/
vendor/

# ==================================
# Build Output
# ==================================
dist/
dist-ssr/
build/
out/
.next/
.nuxt/
.cache/
.parcel-cache/
.vite/
.output/
*.tsbuildinfo

# ==================================
# Logs
# ==================================
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
*.log.*

# ==================================
# Testing
# ==================================
coverage/
*.lcov
.nyc_output/
test-results/
playwright-report/
.pytest_cache/
__pycache__/

# ==================================
# OS Files
# ==================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# ==================================
# Editor & IDE
# ==================================
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
.idea/
*.swp
*.swo
*.swn
*~
.project
.classpath
.settings/
*.sublime-workspace
*.sublime-project

# ==================================
# Temporary Files
# ==================================
*.tmp
*.temp
*.bak
*.backup
*.old
*.orig
*.rej
*.cache
.temp/
tmp/

# ==================================
# Package Manager
# ==================================
package-lock.json
yarn.lock
pnpm-lock.yaml
.pnpm-store/
.yarn/
.pnp.*

# ==================================
# Development
# ==================================
*.local
.vite-inspect/
.eslintcache
.stylelintcache

# ==================================
# Production
# ==================================
*.production
.vercel
.netlify

==================================
Documentation (Optional)
==================================
Uncomment if you want to ignore certain docs
docs/draft/
*.draft.md

==================================
Project Specific
==================================
Add any project-specific ignores here
Loading