refactor: update environment configuration and documentation

- Modified `.env.example` to reflect new API URL structure and added CDN configuration for external storage.
- Updated `.gitignore` to include deployment secrets and certificate files, ensuring sensitive information is not committed.
- Revised `BACKEND_INTEGRATION.md` to clarify authentication methods, replacing Cognito references with Nostr NIP-98.
- Deleted outdated documentation files (`CONTENT-INTEGRATION-COMPLETE.md`, `CURSOR-MCP-SETUP.md`, `FINAL-STATUS.md`, `FIXES-APPLIED.md`, `INDEEHHUB-INTEGRATION.md`, `PROJECT-COMPLETE.md`, `PROJECT-SUMMARY.md`) to streamline project documentation.

These changes enhance the clarity of the environment setup and improve the overall documentation structure for better developer onboarding.
This commit is contained in:
Dorian
2026-02-17 05:12:59 +00:00
parent a88022f81d
commit 8d56fe392d
29 changed files with 782 additions and 1713 deletions

View File

@@ -1,26 +1,17 @@
# API Configuration
VITE_API_URL=http://localhost:4000
VITE_INDEEHUB_API_URL=/api
VITE_CONTENT_ORIGIN=
VITE_API_TIMEOUT=30000
# AWS Cognito (if using direct integration)
VITE_COGNITO_USER_POOL_ID=
VITE_COGNITO_CLIENT_ID=
VITE_COGNITO_REGION=
# Nostr Configuration
VITE_NOSTR_RELAYS=ws://localhost:7777,wss://relay.damus.io
VITE_NOSTR_LOOKUP_RELAYS=wss://purplepag.es
# CDN Configuration
VITE_CDN_URL=https://your-cloudfront-url.com
# App URL (for Nostr external identifiers)
VITE_APP_URL=http://localhost:3000
# CDN (when using external storage)
VITE_INDEEHUB_CDN_URL=/storage
# Feature Flags
VITE_USE_MOCK_DATA=false
VITE_ENABLE_NOSTR=true
VITE_ENABLE_LIGHTNING=true
VITE_ENABLE_RENTALS=true
# Development
VITE_USE_MOCK_DATA=false