home.social

#insurancetech — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #insurancetech, aggregated by home.social.

  1. Day 7
    ✅ 24 test suites, 153 tests passing.

    Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).

    Next: fine-tuning error handling & exploring e2e strategies.

    write.as/bmariusz/24-test-suit

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  2. Day 7
    ✅ 24 test suites, 153 tests passing.

    Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).

    Next: fine-tuning error handling & exploring e2e strategies.

    write.as/bmariusz/24-test-suit

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  3. Day 7
    ✅ 24 test suites, 153 tests passing.

    Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).

    Next: fine-tuning error handling & exploring e2e strategies.

    write.as/bmariusz/24-test-suit

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  4. Day 7
    ✅ 24 test suites, 153 tests passing.

    Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).

    Next: fine-tuning error handling & exploring e2e strategies.

    write.as/bmariusz/24-test-suit

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  5. Day 7
    ✅ 24 test suites, 153 tests passing.

    Solid coverage across service and controller layers in my modular monorepo. Strict typing (TypeScript), full DTO validation, and realistic mocks across complex relations (TypeORM).

    Next: fine-tuning error handling & exploring e2e strategies.

    write.tyolabs.com/?p=25

  6. Day 6
    TL;DR: Groups, memberships, hierarchy — all dynamic now.

    Released backend v0.3.0 🎉

    ✅ Users can belong to multiple groups with typed roles
    ✅ Groups can form hierarchical or overlapping structures
    ✅ Roles are normalized via reference types

    Built with NestJS + TypeORM. Documented via Swagger.

    write.as/bmariusz/building-a-f

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  7. Day 6
    TL;DR: Groups, memberships, hierarchy — all dynamic now.

    Released backend v0.3.0 🎉

    ✅ Users can belong to multiple groups with typed roles
    ✅ Groups can form hierarchical or overlapping structures
    ✅ Roles are normalized via reference types

    Built with NestJS + TypeORM. Documented via Swagger.

    write.as/bmariusz/building-a-f

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  8. Day 6
    TL;DR: Groups, memberships, hierarchy — all dynamic now.

    Released backend v0.3.0 🎉

    ✅ Users can belong to multiple groups with typed roles
    ✅ Groups can form hierarchical or overlapping structures
    ✅ Roles are normalized via reference types

    Built with NestJS + TypeORM. Documented via Swagger.

    write.as/bmariusz/building-a-f

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  9. Day 6
    TL;DR: Groups, memberships, hierarchy — all dynamic now.

    Released backend v0.3.0 🎉

    ✅ Users can belong to multiple groups with typed roles
    ✅ Groups can form hierarchical or overlapping structures
    ✅ Roles are normalized via reference types

    Built with NestJS + TypeORM. Documented via Swagger.

    write.as/bmariusz/building-a-f

    #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo #rbac #codingdays #swagger #jwt #jwt_auth #programming

  10. Day 6
    TL;DR: Groups, memberships, hierarchy — all dynamic now.

    Released backend v0.3.0 🎉

    ✅ Users can belong to multiple groups with typed roles
    ✅ Groups can form hierarchical or overlapping structures
    ✅ Roles are normalized via reference types

    Built with NestJS + TypeORM. Documented via Swagger.

    write.tyolabs.com/?p=23

  11. Day 5
    TL;DR: Continued work on backend security — role-based access is now fully wired up.

    ✅ Got fine-grained role-based access control fully working today.

    • Roles loaded from PostgreSQL
    • Injected into JWT during login
    • Validated via custom `@Roles()` + `RolesGuard`
    • Authenticated via `@UseGuards(JwtAuthGuard)` globally
    • Introduced `@Public()` decorator to bypass guards for public endpoints
    • Swagger supports Bearer token for testing

    Took a while to get the role propagation into the token right — the key was enriching the `validateUser()` result, not just fetching data from DB.

    Modular, clean, and no magic. Feels good. 👌

    more on: write.as/bmariusz/continuation
    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  12. Day 5
    TL;DR: Continued work on backend security — role-based access is now fully wired up.

    ✅ Got fine-grained role-based access control fully working today.

    • Roles loaded from PostgreSQL
    • Injected into JWT during login
    • Validated via custom `@Roles()` + `RolesGuard`
    • Authenticated via `@UseGuards(JwtAuthGuard)` globally
    • Introduced `@Public()` decorator to bypass guards for public endpoints
    • Swagger supports Bearer token for testing

    Took a while to get the role propagation into the token right — the key was enriching the `validateUser()` result, not just fetching data from DB.

    Modular, clean, and no magic. Feels good. 👌

    more on: write.as/bmariusz/continuation
    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  13. Day 5
    TL;DR: Continued work on backend security — role-based access is now fully wired up.

    ✅ Got fine-grained role-based access control fully working today.

    • Roles loaded from PostgreSQL
    • Injected into JWT during login
    • Validated via custom `@Roles()` + `RolesGuard`
    • Authenticated via `@UseGuards(JwtAuthGuard)` globally
    • Introduced `@Public()` decorator to bypass guards for public endpoints
    • Swagger supports Bearer token for testing

    Took a while to get the role propagation into the token right — the key was enriching the `validateUser()` result, not just fetching data from DB.

    Modular, clean, and no magic. Feels good. 👌

    more on: write.as/bmariusz/continuation
    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  14. Day 5
    TL;DR: Continued work on backend security — role-based access is now fully wired up.

    ✅ Got fine-grained role-based access control fully working today.

    • Roles loaded from PostgreSQL
    • Injected into JWT during login
    • Validated via custom `@Roles()` + `RolesGuard`
    • Authenticated via `@UseGuards(JwtAuthGuard)` globally
    • Introduced `@Public()` decorator to bypass guards for public endpoints
    • Swagger supports Bearer token for testing

    Took a while to get the role propagation into the token right — the key was enriching the `validateUser()` result, not just fetching data from DB.

    Modular, clean, and no magic. Feels good. 👌

    more on: write.as/bmariusz/continuation
    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  15. Day 5
    TL;DR: Continued work on backend security — role-based access is now fully wired up.

    ✅ Got fine-grained role-based access control fully working today.

    • Roles loaded from PostgreSQL
    • Injected into JWT during login
    • Validated via custom `@Roles()` + `RolesGuard`
    • Authenticated via `@UseGuards(JwtAuthGuard)` globally
    • Introduced `@Public()` decorator to bypass guards for public endpoints
    • Swagger supports Bearer token for testing

    Took a while to get the role propagation into the token right — the key was enriching the `validateUser()` result, not just fetching data from DB.

    Modular, clean, and no magic. Feels good. 👌

    more on: write.tyolabs.com/?p=21

  16. Day 4

    TL;DR: Full Swagger docs + JWT auth with registration and login are live.

    Today’s work focused on two key improvements.

    1. Swagger documentation was extended across all API layers. DTOs, entities, and controllers were enriched with `@ApiTags`, `@ApiOperation`, `@ApiResponse`, and detailed `@ApiBody` annotations — including real-life examples for request bodies.

    2. JWT-based authentication was implemented. A secure registration flow was added, with password hashing via bcrypt. A login endpoint now issues access tokens containing user ID, email, and roles. All logic is encapsulated using Passport strategies (local and JWT). The next step will be protecting routes with guards and role-based access.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  17. Day 4

    TL;DR: Full Swagger docs + JWT auth with registration and login are live.

    Today’s work focused on two key improvements.

    1. Swagger documentation was extended across all API layers. DTOs, entities, and controllers were enriched with `@ApiTags`, `@ApiOperation`, `@ApiResponse`, and detailed `@ApiBody` annotations — including real-life examples for request bodies.

    2. JWT-based authentication was implemented. A secure registration flow was added, with password hashing via bcrypt. A login endpoint now issues access tokens containing user ID, email, and roles. All logic is encapsulated using Passport strategies (local and JWT). The next step will be protecting routes with guards and role-based access.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  18. Day 4

    TL;DR: Full Swagger docs + JWT auth with registration and login are live.

    Today’s work focused on two key improvements.

    1. Swagger documentation was extended across all API layers. DTOs, entities, and controllers were enriched with `@ApiTags`, `@ApiOperation`, `@ApiResponse`, and detailed `@ApiBody` annotations — including real-life examples for request bodies.

    2. JWT-based authentication was implemented. A secure registration flow was added, with password hashing via bcrypt. A login endpoint now issues access tokens containing user ID, email, and roles. All logic is encapsulated using Passport strategies (local and JWT). The next step will be protecting routes with guards and role-based access.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  19. Day 4

    TL;DR: Full Swagger docs + JWT auth with registration and login are live.

    Today’s work focused on two key improvements.

    1. Swagger documentation was extended across all API layers. DTOs, entities, and controllers were enriched with `@ApiTags`, `@ApiOperation`, `@ApiResponse`, and detailed `@ApiBody` annotations — including real-life examples for request bodies.

    2. JWT-based authentication was implemented. A secure registration flow was added, with password hashing via bcrypt. A login endpoint now issues access tokens containing user ID, email, and roles. All logic is encapsulated using Passport strategies (local and JWT). The next step will be protecting routes with guards and role-based access.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices #monorepo
    #codingdays #swagger #jwt #jwt_auth #programming

  20. Day 4

    TL;DR: Full Swagger docs + JWT auth with registration and login are live.

    Today’s work focused on two key improvements.

    1. Swagger documentation was extended across all API layers. DTOs, entities, and controllers were enriched with `@ApiTags`, `@ApiOperation`, `@ApiResponse`, and detailed `@ApiBody` annotations — including real-life examples for request bodies.

    2. JWT-based authentication was implemented. A secure registration flow was added, with password hashing via bcrypt. A login endpoint now issues access tokens containing user ID, email, and roles. All logic is encapsulated using Passport strategies (local and JWT). The next step will be protecting routes with guards and role-based access.

    write.tyolabs.com/?p=19


  21. Day 3 2/2
    2. Enabling API documentation with Swagger.

    I integrated Swagger into the backend (NestJS v10, ESM, Turbo monorepo), using `@nestjs/swagger@7` to match our current framework version.
    The docs are now live at `/api/docs`, fully aligned with our global `ValidationPipe` and `AllExceptionsFilter` — ensuring consistent validation and error responses.

    Next: annotate DTOs, describe endpoints properly, and restrict access.

    write.tyolabs.com/?p=17


  22. Day 2:

    TL;DR:
    ❌ `composite: true`
    ❌ `tsconfig.build.json`
    ✅ `paths` in `tsconfig.base.json`
    ✅ `include` shared libs explicitly where needed
    ✅ `turbo run build` just works

    Wrestled for hours (~3) with TypeScript `project references` and `paths` in a Turbo monorepo (NestJS, ESM).
    Turns out: if you want global aliases like `@my-lib/foo` to *just work* across apps — skip `composite: true` and `tsc --build`.

    Project references and alias-based path mapping don't mix well when your intent is to keep things simple.

    write.tyolabs.com/?p=15


  23. Day 1:
    tl;dr: ESM + TS + NestJS + TypeORM is possible, but not recommended for the impatient.

    Successfully bootstrapped NestJS + TypeORM + PostgreSQL stack using ESM.

    It only took:
    - 6 hours
    - 17 cryptic errors
    - 3 existential crises

    Turns out, using modern JS modules with legacy decorators is... bold. But hey — it runs now.

    write.tyolabs.com/?p=13


  24. Day 0:

    TL;DR: Set up the basic foundations for a new system: database schema finalized, core backend modules scaffolded, and initial API contracts defined. The real work begins now.
    No hype. Just building.

    Today I worked on building the core backend infrastructure for a cloud-native insurance platform. Key points:
    Modular microservices architecture based on NestJS
    PostgreSQL schemas designed for flexibility — no hardcoded values, all dynamic
    Using TypeScript with ESM modules for better code organization
    Setting up communication patterns between backend and Next.js frontend
    Focus on scalability and simplicity in cloud deployment
    This lays a solid foundation for a system built from scratch to replace legacy solutions and support future growth.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices
    #codingdays #programming

  25. Day 0:

    TL;DR: Set up the basic foundations for a new system: database schema finalized, core backend modules scaffolded, and initial API contracts defined. The real work begins now.
    No hype. Just building.

    Today I worked on building the core backend infrastructure for a cloud-native insurance platform. Key points:
    Modular microservices architecture based on NestJS
    PostgreSQL schemas designed for flexibility — no hardcoded values, all dynamic
    Using TypeScript with ESM modules for better code organization
    Setting up communication patterns between backend and Next.js frontend
    Focus on scalability and simplicity in cloud deployment
    This lays a solid foundation for a system built from scratch to replace legacy solutions and support future growth.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices
    #codingdays #programming

  26. Day 0:

    TL;DR: Set up the basic foundations for a new system: database schema finalized, core backend modules scaffolded, and initial API contracts defined. The real work begins now.
    No hype. Just building.

    Today I worked on building the core backend infrastructure for a cloud-native insurance platform. Key points:
    Modular microservices architecture based on NestJS
    PostgreSQL schemas designed for flexibility — no hardcoded values, all dynamic
    Using TypeScript with ESM modules for better code organization
    Setting up communication patterns between backend and Next.js frontend
    Focus on scalability and simplicity in cloud deployment
    This lays a solid foundation for a system built from scratch to replace legacy solutions and support future growth.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices
    #codingdays #programming

  27. Day 0:

    TL;DR: Set up the basic foundations for a new system: database schema finalized, core backend modules scaffolded, and initial API contracts defined. The real work begins now.
    No hype. Just building.

    Today I worked on building the core backend infrastructure for a cloud-native insurance platform. Key points:
    Modular microservices architecture based on NestJS
    PostgreSQL schemas designed for flexibility — no hardcoded values, all dynamic
    Using TypeScript with ESM modules for better code organization
    Setting up communication patterns between backend and Next.js frontend
    Focus on scalability and simplicity in cloud deployment
    This lays a solid foundation for a system built from scratch to replace legacy solutions and support future growth.

    #CloudNative #TypeScript #NestJS #Nextjs #InsuranceTech #Microservices
    #codingdays #programming

  28. Day 0:

    TL;DR: Set up the basic foundations for a new system: database schema finalized, core backend modules scaffolded, and initial API contracts defined. The real work begins now.
    No hype. Just building.

    Today I worked on building the core backend infrastructure for a cloud-native insurance platform. Key points:
    Modular microservices architecture based on NestJS
    PostgreSQL schemas designed for flexibility — no hardcoded values, all dynamic
    Using TypeScript with ESM modules for better code organization
    Setting up communication patterns between backend and Next.js frontend
    Focus on scalability and simplicity in cloud deployment
    This lays a solid foundation for a system built from scratch to replace legacy solutions and support future growth.

    write.tyolabs.com/?p=10

  29. Hong Kong insurtech startup Coherent gets $14 million Series A led by Cathay Innovation - Based in Hong Kong, Coherent helps insurance providers go digital. With their services more relevant... - feedproxy.google.com/~r/Techcr #digitalinsurance #fundings&exits #insurancetech #insurtech #startups #coherent #hongkong #asia #tc

  30. The Zebra reaches $100M run rate, turns profitable as insurtech booms - From a cluster of insurance marketplace startups raising capital earlier this year, to neoinsurance ... - feedproxy.google.com/~r/Techcr #insurancetech #startups #thezebra #tc

  31. TikTok parent ByteDance leads $6M round in financial AI startup Lingxi - TikTok’s parent company ByteDance has added Lingxi, a Beijing-based startup that applies machine i... more: feedproxy.google.com/~r/Techcr #artificialintelligence #financialservices #consumerfinance #debtcollection #rocketinternet #insurancetech #gsrventures #musical.ly #techcrunch #bytedance #beijing #tiktok #china #asia #tc

  32. Insurify raises $23M Series A to add new coverage varietals, boost its marketing efforts - The venture-backed insurance world is more than the Lemonades and MetroMiles of the world. There’s m... more: feedproxy.google.com/~r/Techcr #fundings&exits #recentfunding #insurancetech #mtechcapital #violafintech #startups #insurify #lemonade #tc