Commit Graph

7 Commits

Author SHA1 Message Date
cd1d9ae591 Refactor speed test integration and enhance controller functionality
* Replaced SpeedTestApiRoutes with SpeedTestController for improved API handling.
* Introduced SpeedTestService and InMemoryRequestRepository for better service layer management.
* Added RandomData class for generating random data with hash support.
* Updated error handling and response structure in SpeedTestController.
* Enhanced type safety in interfaces for speed test operations.
2025-11-21 06:29:12 -05:00
2ac8e505f6 Refactor speed test functionality and restructure codebase
* Removed the old SpeedTestApiRoutes and RandomData classes to streamline the architecture.
* Introduced SpeedTestController to handle API requests and integrate with the new service layer.
* Added RandomDataGenerator for generating random data, improving separation of concerns.
* Created interfaces for speed test operations, enhancing type safety and maintainability.
* Updated InMemorySpeedTestRepository to manage sessions with improved timeout handling.
2025-11-21 05:04:00 -05:00
21b9e52f40 Add frontend speed test application and server setup
* Introduced a new HTML frontend for network speed testing with a responsive UI
* Implemented backend server functionality to serve the frontend and handle speed test APIs
* Added speed test logic for downloading and uploading data, including progress tracking and result validation
* Created README-SPEEDTEST.md for documentation on application architecture, setup, and usage.
* Updated package.json to include necessary scripts and dependencies for development and testing
2025-11-21 04:56:18 -05:00
3a3b85f138 Enhance BunHttpServer with port configuration and server management
* Added a private _port property to manage the server port.
* Updated constructor to accept a BunServer instance.
* Implemented listen method to start the Bun server with specified configurations.
* Introduced stop method to gracefully stop the Bun server.
2025-11-21 03:15:34 -05:00
4f0348ec1a Add BunHttpServer and HttpServerFactory classes for handling HTTP requests
* Implemented BunHttpServer to manage routes and WebSocket handling
* Created HttpServerFactory for instantiating BunHttpServer with routes and WebSocket handlers
* Added error handling for duplicate routes and a default fetch response for unknown routes
2025-11-21 03:04:10 -05:00
f66266b218 Add health check functionality and type checking to the project
* Introduced HealthCheck class for system health monitoring.
* Added HealthCheckApiRoutes for readiness endpoint.
* Updated package.json to include TypeScript type checking command.
2025-11-21 03:03:41 -05:00
ab34b614dd Initial Commit
* Initialize project with essential configuration files including
** .gitignore
** .npmrc
** .nvmrc
** .prettierrc
** bunfig.toml
** eslint.config.ts
** package.json
** README.md
** tsconfig.json
2025-11-21 02:38:36 -05:00