
Complete drug testing solution with three integrated platforms: Customer portal, admin portal, and e-commerce. Digital referral management, test bookings, and automated email notifications.
Discovery callProvsvaret needed a complete digital solution for drug testing with three separate but integrated platforms: A customer portal where companies can create digital referrals and book test appointments, an admin portal to process analyses and manage operations, and an e-commerce shop for selling test equipment. The solution required Clerk authentication for secure access, MongoDB for data storage, Resend API for automated email notifications, and full GDPR compliance.
We built three Next.js 15 applications with TypeScript and Tailwind CSS. Implemented Clerk authentication with organization management for multi-tenant architecture. Created a MongoDB database with Zod schema validation for referrals, bookings, analyses, and products. Integrated Resend API for automated email notifications for new referrals, booking confirmations, and analysis results. Developed an e-commerce shop with product catalog, shopping cart, and order management. All GDPR-secure with encrypted data storage.
18 months in production with 14,400+ drug tests processed annually. Three fully integrated platforms communicating via MongoDB: Customer portal with 90% user satisfaction for digital referral management and bookings, admin portal with 60% admin time savings for analysis processing and operations management, and e-commerce shop for test equipment. 99.9% uptime, zero security incidents, and 100% GDPR compliance since day 1.
Drug testing requires secure data handling, efficient analysis processing, and smooth test equipment sales. Provsvaret needed a technical solution for:
Three separate but integrated platforms (customer portal, admin portal, e-commerce) with shared MongoDB database and secure authentication
Digital referral management with Zod schema validation, support for 15+ test types, substance analysis, and step-by-step referral workflow
Automated email notifications via Resend API for booking confirmations, analysis results, and order confirmations
GDPR-compliant data storage with Clerk organization management, encrypted MongoDB, and complete data control for corporate customers
We built a production-ready solution with three Next.js applications and robust integrations:
Clerk authentication: Multi-tenant architecture with organization management, roles (admin/user), secure sessions, and email verification
MongoDB database: Structured data for referrals (15+ fields), bookings, analyses, test analyses, products, orders, and customer organizations with Zod validation
Resend API: Automated email workflows for new referral, booking confirmation, analysis results ready, order confirmation, and admin notifications
E-commerce shop: Product catalog with categories, shopping cart, order management, stock status, and integration with admin portal for order processing

“Ketryon transformed our healthcare operations with a seamless digital platform. Solution that our patients and staff love using every day.”
“Ketryon transformed our healthcare operations with a seamless digital platform. They understood our complex laboratory workflows and delivered a solution that our patients and staff love using every day.”
Take a closer look at the key features and interfaces that make Provsvaret a complete drug testing solution for companies.
Each project represents our commitment to delivering innovative solutions that drive real business results.