Affinity GBSapri

Affinity is GBSAPRI’s insurance e-commerce for affiliated groups: each one sees only the products in its own agreement and buys the policy online, from the quote to the digital signature and payment.

Affinity GBSapri: the web app, “Offers just for you”

Affinity GBSapri: the web app on the computer, from the agreement’s catalog to document signing; on the phone, the catalog, a product and the questionnaire.

The project

An insurance policy, bought online in seven steps.

GBSAPRI is an insurance intermediary. With Affinity it offers policies to affiliated groups: members who sign in see only the products of their group plan, configure them and buy them online, from quote to order, with digital signing of the documents.

Our work

Back office, API and web app

We’ve been working on Affinity since 2018: the back office and the APIs in Node.js and MongoDB and, since 2023, the React web app.

The purchase flow has seven steps:

  • product information, with the mandatory coverages already included;
  • build your offer: coverages and start date, with the premium recalculated at every change;
  • personal details, with a different form depending on the product;
  • the suitability questionnaire;
  • the acknowledgments;
  • digital signature with YouSign, up to three documents in a single request;
  • summary and payment, by card or bank transfer.

The back office manages group plans, products, coverages, quotes, orders and support messages.

The screenshots on this page come from our code running locally, with a made-up group plan, customer and orders.

At a glance

steps, from quote to order
7
the start of work on the back office
2018
commits across the two repositories
1.100+

The purchase flow

Seven steps, one policy

Real screens from the web app, running locally, with a made-up customer and group plan.

Information: The quote opens: the mandatory coverages are already included.

The mockups

Web app and back office running locally, with made-up data, in PSDs from our library

Affinity: the summary, the catalog and the phone
The summary, the catalog and the phone
Affinity: the group plan’s offers
The group plan’s offers
Affinity: build your offer
Build your offer
Affinity: catalog, product and questionnaire, on the phone
Catalog, product and questionnaire, on the phone
Affinity: the back office: orders
The back office: orders
Affinity: the signed documents, in hand
The signed documents, in hand
Affinity: the digital signature, completed
The digital signature, completed
Affinity: a product from the group plan
A product from the group plan
Affinity: the back-office dashboard
The back-office dashboard

The technologies

From the project’s code

Back office and API

  • Node.js with Express
  • Back office in EJS
  • MongoDB with Mongoose
  • Sign-in with Passport and JWT
  • Document PDFs with pdfmake
  • Digital signature with YouSign
  • Payments with Stripe
  • Files on AWS S3
  • Email with SendGrid, SMS and OTP codes with Twilio and Prelude
  • Excel and CSV exports

Web app

  • React 18 with Vite
  • MUI and MUI X
  • Forms with React Hook Form and Yup
  • State with Redux Toolkit
  • Payments with Stripe Elements
  • Tax code validation
  • Translations with i18next

Who worked on it

4 people · 2018 – 2026

  • Vittorio Tauro

    Vittorio Tauro

    CEO and Founder

    Has worked on Affinity since 2018: back office and APIs, then the React web app, from the group plan catalog to the order.

    Back officeAPIWeb app2018 – 2026

  • Pietro De Bianchi

    Pietro De Bianchi

    App Projects Manager

    Worked on the web app and the APIs: the forms for new products, acknowledgments and signing, OTP verification, policy withdrawal.

    Web appAPI2024 – 2026

  • Yuji Sato

    Yuji Sato

    Full Stack Developer

    Worked on the new React web app and the APIs behind it.

    Web appAPI2023 – 2024

  • Mauro Buscone

    Mauro Buscone

    Software Engineer

    Worked on the first version: personal records, acknowledgments, sign-up and SMS configuration.

    Back office2018 – 2019

Think twice, code once on their backs, overlooking the Umbrian valley

Think twice,
code once.

Have a similar project in mind? Tell us about it: the first consultation is free and we reply within 24 hours.