Commit Graph

11 Commits

Author SHA1 Message Date
ab42660e80 Implement configuration management and dependency injection framework
- Added ConfigurationReader for loading dependency definitions
- Introduced FileConfigurationLoader for file-based configuration loading
- Created IDependencyManager and IDependencyProvider interfaces for managing dependencies
- Implemented DependencyProvider for providing instances based on lifecycle
- Added Default class for logging level configuration
- Enhanced HealthCheckApi with improved route setup and health check handling
2025-11-15 05:00:02 -05:00
ce85dd1ead Enhance API routing and health check functionality
- Added ApiRouteTemplate as a base class for defining API routes
- Implemented HealthCheckApi for health check endpoint management
- Introduced IApiRoute interface for consistent route handling
- Updated UserApiRoute to align with new routing structure
- Added HealthCheck class for health status retrieval
- Improved dependency management with new types and interfaces
2025-11-10 22:12:41 -05:00
f6d0afb98a Update bun.lock and remove DependencyManager tests
- Added new dependency "@techniker-me/tools" and updated existing dependencies to specific versions in bun.lock
- Removed the DependencyManager test file as part of codebase cleanup
2025-10-30 03:16:04 -04:00
d332e08665 Add HTTP routing and server management classes
- Introduced UserApiRoute for managing user-related API routes
- Implemented HttpRouteManager for registering and retrieving HTTP routes
- Created HttpServer class to initialize and start an Express server with route management
- Added middleware and static route handling in HttpServer
2025-10-30 03:15:50 -04:00
64407db695 Add dependency management classes and interfaces
- Introduced Type and NamedType classes for type management
- Implemented IDependencyProvider interface for dependency provision
- Updated DependencyManager with a new lifecycle type 'service'
- Added methods for type comparison and URN generation in Type and NamedType
2025-10-30 03:15:41 -04:00
1587ed7428 Add logging framework with Logger, LoggerFactory, and appenders
- Introduced ILogger interface for logging methods
- Implemented Logger class with various logging levels and message formatting
- Created LoggerFactory for managing logger instances and appender configuration
- Added LoggingLevel enum and mapping for logging level types
- Developed ConsoleAppender and TechnikerMeAppender for different logging outputs
- Implemented appender management with AppenderFactory and base Appender class
- Established Threshold class for controlling logging levels
2025-10-30 03:15:16 -04:00
cb34256276 Add observable pattern implementation with Subject and ReadOnlySubject classes
- Introduced Subject class for managing state and notifying listeners
- Added ReadOnlySubject class to provide read-only access to Subject values
- Created assertUnreachable utility function for unreachable code handling
- Updated observables index file to export Subject and ReadOnlySubject
2025-10-30 03:14:53 -04:00
3fe157541c Add .npmrc configuration and update package.json
- Created a new .npmrc file with custom settings for package-lock and registry
- Updated package.json to include new devDependencies for @types/express and @types/morgan
- Restored private status and scripts section in package.json, ensuring proper project setup
2025-10-30 03:13:51 -04:00
e18e3523e5 Add disposable management classes and interface
- Introduced IDisposable interface for defining disposable behavior
- Implemented Disposable class for single disposable resources
- Created DisposableList class to manage multiple disposables
- Updated index file to export the new classes and interface
2025-10-30 03:13:35 -04:00
63dc90a8c8 updates 2025-10-29 00:15:48 -04:00
3a7f5fe75d Initial Commit 2025-10-28 20:29:46 -04:00