fix(phase-0): resolve import paths and add backward compatibility test

- Fix TypeScript import paths to use relative imports instead of aliases
- Add comprehensive backward compatibility test script
- Verify existing functionality works correctly:
  * Legacy /api/track endpoint: 
  * /api/v1/track POST endpoint: 
  * /api/v1/track GET endpoint: 
- Ready for Docker testing of new TypeScript implementation
This commit is contained in:
Andrei
2025-08-18 07:15:42 +00:00
parent 956f1aeadb
commit db9e3ef650
10 changed files with 129 additions and 4 deletions

23
.env Normal file
View File

@@ -0,0 +1,23 @@
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/redirect_intelligence"
# Redis
REDIS_URL="redis://localhost:6379"
# API
PORT=3333
NODE_ENV=development
JWT_SECRET="your-super-secret-jwt-key-change-in-production"
# Frontend
WEB_URL="http://localhost:3000"
REACT_APP_API_URL="http://localhost:3333"
# Optional: Google Safe Browsing API
GOOGLE_SAFE_BROWSING_API_KEY=""
# Logging
LOG_LEVEL=info
# Worker
WORKER_CONCURRENCY=5