Open Issues Need Help
View All on GitHubAI Summary: This issue aims to significantly enhance the API documentation by implementing a Swagger/OpenAPI solution. The goal is to provide comprehensive documentation for all routes, including input/output schemas, status codes, authentication, and error handling, with an interactive UI and versioning accessible via a dedicated `/docs` route.
AI Summary: This issue aims to establish a standardized error handling mechanism across both backend and frontend systems. The goal is to ensure all errors follow a consistent format, are logged with context server-side, and provide helpful, non-technical messages to users, while gracefully managing various edge cases.
AI Summary: This issue proposes adding a new `/user/kyc/verify` endpoint to the user module. The endpoint will accept KYC-related data, validate it, and then use a stubbed service to simulate KYC verification results (pending, approved, rejected). The request and its mock result will be stored in a new database table or within the user profile.
AI Summary: Integrate an AI-powered chatbot into a NestJS application to handle customer inquiries, FAQs, and seamlessly transfer complex queries to human agents. The chatbot should be accessible across all application pages, log chat transcripts (excluding PII), and allow for basic actions like checking claim status.
AI Summary: Implement data encryption for sensitive user data (PII, financials, claim details) in a NestJS application. This involves enforcing TLS for all APIs, encrypting sensitive fields at rest using AES-256, securely storing encryption keys, and ensuring secure decryption for authorized access.
AI Summary: Optimize image uploads in a NestJS application by implementing image compression, validation (size and format), user feedback, and potentially CDN integration. This involves adding middleware or services to handle image processing and ensuring efficient storage and delivery.
AI Summary: Develop a feature for comparing 2-3 insurance policies side-by-side. The comparison should display coverage, premiums, and exclusions in a clear table viewable on desktop and mobile. Policy data should be dynamically fetched from a database.
AI Summary: Refactor legacy code within a NestJS project to remove deprecated functions and libraries, update to current coding standards and best practices, improve file/module structure, and ensure all functionality remains intact (passing tests).
AI Summary: Implement Role-Based Access Control (RBAC) in a NestJS application to restrict access to sensitive routes based on predefined roles (admin, agent, customer, etc.). This includes creating role-based guards or middleware, handling unauthorized access responses, and developing an admin UI for managing role assignments.
AI Summary: Integrate a real-time notification system into a NestJS application to alert users about claim updates, policy changes, or other alerts using WebSockets or push notifications. The system should support at least three notification events, deliver notifications without page refreshes, store notifications in a UI notification center, and ensure reliable delivery.
AI Summary: Implement multi-factor authentication (MFA) and stronger password policies for the NestJS application to enhance user authentication security. This includes adding MFA options (e.g., email OTP, authenticator app), enforcing password complexity rules (uppercase, lowercase, digits, special characters, minimum length), implementing MFA setup and recovery flows, and logging/rate-limiting security events.
AI Summary: Optimize inefficient database queries in a NestJS application to improve the performance of high-traffic endpoints. This involves identifying and refactoring slow queries, adding indexes where necessary, eliminating N+1 query problems, and ensuring normalized and performant execution times, aiming for a โฅ30% reduction in response times.
AI Summary: Implement automated email notifications for insurance claim status updates using existing email templates and services. The system should handle various claim status transitions (submitted -> under review, under review -> approved/rejected), customize email content dynamically, manage email delivery errors gracefully, and include comprehensive unit and integration tests. Swagger documentation should also be updated.
AI Summary: Integrate an external oracle service (e.g., Chainlink, Flux, RedStone) into a NestJS application to automate insurance claim verification. This involves sending claim details to the oracle, handling its response (including potential failures), updating claim statuses accordingly, and implementing comprehensive testing.
AI Summary: Implement a secure webhook endpoint (/payment/webhook) to receive and process payment status updates from external providers. This involves validating the payload, ensuring idempotency to prevent duplicate processing, updating the database with the new status, and implementing robust logging and monitoring. High test coverage is required.
AI Summary: Implement a new API endpoint (/lp/history/:userId) to retrieve a user's historical LP token balances. This requires designing a database schema or leveraging an event-based architecture to store balance data, implementing data aggregation logic to calculate balance changes over time, and ensuring proper security, performance, and error handling. The response should be a JSON array suitable for charting libraries.
AI Summary: Create a stub for an AI-driven fraud detection service to be integrated into a claim processing pipeline. This involves designing an interface, implementing a mock service with dummy logic, integrating it into the existing claim workflow, documenting the integration and considerations for a future real AI model, and writing unit tests.
AI Summary: This task requires refactoring a NestJS project to centralize all custom exception filters into a `src/common/filters` directory. This includes moving existing filters, removing duplicates, applying filters consistently across modules (globally or at the module/controller level), and documenting their usage in a markdown file. Swagger/API documentation should also be updated to reflect the standardized error format.
AI Summary: This task requires extending a NestJS payment module to support multiple blockchain payment methods (starting with Ethereum and StarkNet). This involves designing a multi-chain payment architecture with a common interface for chain-specific payment processors, creating stub services for each chain to simulate transaction verification, updating the payment flow to route transactions based on the specified chain, and thoroughly documenting the architecture for future contributors. Unit tests and Swagger documentation updates are also required.
AI Summary: This task requires enhancing the error handling and response consistency of a NestJS governance module, ensuring all endpoints return standardized JSON error responses. Additionally, comprehensive unit and end-to-end tests must be implemented to cover the voting logic, including scenarios like duplicate votes, expired proposals, and unauthorized voting attempts. Swagger documentation needs updating to reflect the new error responses.
AI Summary: Implement event logging for LP token minting and burning, including emitting events with relevant metadata, persistent storage (e.g., PostgreSQL), creating a new REST API endpoint (/lp-token/events) with filtering and pagination, updating Swagger documentation, and writing unit and integration tests.
AI Summary: This task requires extending a NestJS-based DAO governance module. It involves creating REST endpoints for updating/deleting proposals (before voting starts), retrieving individual vote receipts, and displaying final voting results (after voting ends). Each endpoint needs proper authorization, input validation, and Swagger documentation. Comprehensive testing is also required.
AI Summary: Enhance the NestJS governance module's proposal API by adding pagination, filtering, and sorting capabilities to the GET /governance/proposal endpoint. This also includes improving the validation of proposal data using class-validator decorators to ensure data integrity and consistency. Updated Swagger documentation and comprehensive testing are required.
AI Summary: The task involves enhancing a NestJS application's Policy module to support multi-asset insurance policies. This requires extending the Policy entity and related DTOs to handle multiple asset types (e.g., cryptocurrencies, NFTs), updating endpoints (POST /policy, GET /policy/:id, GET /policy), revising Swagger documentation, and ensuring backward compatibility. Thorough testing is crucial to cover multi-asset creation, retrieval, and edge cases.
AI Summary: Implement a dynamic risk pool balancing system for a NestJS application. This involves real-time monitoring of claim activity and pool utilization, automated rebalancing based on predefined thresholds, and admin APIs for manual overrides and monitoring. The system must be secure, auditable, and handle failures gracefully. Comprehensive testing is required.
AI Summary: This task requires enhancing Stark Insured's DAO governance by implementing proposal expiry handling and StarkNet DAO membership verification. This involves creating a scheduled task to automatically expire proposals after their voting period, updating a guard to verify StarkNet DAO membership before granting access to governance features, and writing comprehensive unit and integration tests.