Commit Graph

13 Commits

Author SHA1 Message Date
70ce8a7157 feat: add unit test framework with new test cases for core modules
Introduce a comprehensive unit test framework covering the core modules, including new test cases for data validation, error handling, and edge scenarios. The framework uses pytest with fixtures and parameterized tests to ensure robust coverage of critical code paths.
2025-11-23 23:50:23 +00:00
b8b990785b feat: add jest configuration and sample unit test for utils module 2025-11-23 22:46:02 +00:00
76ffc91546 feat: implement object-oriented programming structure with class definitions and inheritance patterns 2025-11-23 22:23:17 +00:00
8800318703 chore: restructure project directory layout for improved modularity 2025-11-23 22:03:19 +00:00
49c61e6cea docs: add installation prerequisites and quickstart guide to README 2025-11-23 20:33:07 +00:00
32fe81de30 feat: refactor data processing pipeline to use async/await for non-blocking I/O
The core data ingestion module has been rewritten to replace synchronous file reads and database writes with asynchronous coroutines using asyncio. This change eliminates thread pool overhead for I/O-bound operations, improving throughput under high concurrency. The `process_batch` function now awaits `aiofiles.open` and `asyncpg.execute`, with error handling updated to propagate exceptions through the event loop.
2025-11-23 19:30:37 +00:00
cfab51abd8 feat: add include functionality to support modular template composition
Implement the `include` directive that allows embedding external template files into the current template at render time. This enables code reuse and separation of concerns by letting templates import shared components like headers, footers, or partials. The feature parses include statements, resolves file paths relative to the template root, and recursively renders the included content within the parent template's variable scope.
2025-11-23 14:23:59 +00:00
77beada5a6 test: add unit tests for user authentication and profile retrieval endpoints 2025-11-23 14:07:19 +00:00
0028a6f2de feat: implement async processing for data pipeline operations
Refactor the core data processing module to use asyncio for concurrent task execution, replacing the previous synchronous loop. This change introduces async/await patterns across the main handler and utility functions, enabling non-blocking I/O for database queries and external API calls. The update includes new async context managers for connection pooling and error handling, improving throughput under high load scenarios.
2025-11-23 13:30:46 +00:00
0b53a5bef3 fix: break infinite loop in user session renewal handler 2025-11-23 12:53:36 +00:00
2bbb2a40a8 chore: remove trailing whitespace from README.md line 42 2025-11-22 23:17:01 +00:00
83dd5cd618 chore: remove trailing whitespace from README.md line 42 2025-11-22 22:15:15 +00:00
c52fa04787 chore: organize project directory structure with logical grouping of modules 2025-11-22 21:22:43 +00:00