6 Commits

Author SHA1 Message Date
jango-blockchained
a814c427e9 feat: enhance security configuration and SSE management with robust token validation and client tracking
- Refactored `.env.example` with comprehensive security and configuration parameters
- Added new `security.config.ts` for centralized security configuration management
- Improved middleware with enhanced authentication, request validation, and error handling
- Updated SSE routes and manager with advanced client tracking, rate limiting, and connection management
- Implemented more granular token validation with IP-based rate limiting and connection tracking
- Added detailed error responses and improved logging for security-related events
2025-02-03 22:02:12 +01:00
jango-blockchained
1753e35cd3 Add comprehensive logging infrastructure with configuration and middleware
- Implemented centralized logging utility using Winston with daily log rotation
- Added logging middleware for request and error tracking
- Extended .env.example with logging configuration options
- Updated app configuration to support flexible logging settings
- Replaced console.log with structured logging in main application entry point
- Created logging middleware to capture request details and response times
2025-02-03 15:41:06 +01:00
jango-blockchained
cee8cf8b1e Enhance configuration management with comprehensive environment setup
- Added detailed .env.example with extensive configuration options
- Created centralized configuration module with type-safe environment variable loading
- Implemented configuration validation and default value handling
- Added support for different environment modes (development, production, test)
- Introduced interfaces for robust type definitions across the project
- Implemented middleware for request validation, security, and input sanitization
2025-02-03 00:32:14 +01:00
jango-blockchained
2987837321 Add Claude processor type to .env.example configuration 2025-02-02 23:27:19 +01:00
jango-blockchained
e1eb96a46d Update .env.example for development environment configuration
- Changed NODE_ENV from production to development for local testing.
- Updated HASS_HOST and HASS_SOCKET_URL to point to local Home Assistant instance.
- Added PORT and LOG_LEVEL variables for better control over application settings during development.
2024-12-17 16:49:08 +01:00
jango-blockchained
dd832a8011 Add .env.example file for environment variable configuration
- Created a new .env.example file to provide a template for required environment variables, including NODE_ENV, HASS_HOST, and HASS_TOKEN.
- This addition enhances configuration management by guiding users on necessary settings for the application.
2024-12-16 15:05:00 +01:00