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
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# API Configuration
NEXT_PUBLIC_API_URL=http://localhost:8000
21 changes: 21 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# CivicShield AI Frontend - Environment Configuration
# Copy this file to .env.local and update the values

# ===================================================================
# API Configuration
# ===================================================================
# FastAPI backend URL
# Development: http://localhost:8000
# Production: https://api.yourdomain.com
NEXT_PUBLIC_API_URL=http://localhost:8000

# ===================================================================
# Optional: Vercel Configuration (if deploying to Vercel)
# ===================================================================
# VERCEL_URL=your-deployment-url.vercel.app

# ===================================================================
# Optional: Analytics and Monitoring (future use)
# ===================================================================
# NEXT_PUBLIC_SENTRY_DSN=your-sentry-dsn
# NEXT_PUBLIC_GA_ID=your-google-analytics-id
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ pentest_report.pdf
__pycache__/
*.pyc

# Dependencies
node_modules
.pnp
.pnp.js

# Testing
coverage

# Next.js
.next/
out/

# Production
build/
dist/

# Misc
.env
.env.local
.env.*.local

# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# IDE
.vscode/
.idea/
*.swp
*.swo

# OS junk
.DS_Store
Thumbs.db
Loading