NIHR Study Assessment Platform
Integrated web application and data ingestion service for NIHR, leveraging Next.js, Prisma, and advanced RBAC OAUTH2 for secure, accessible research workflows.
Project Overview
Developed an integrated web application and data ingestion service within a monorepo for NIHR, using Next.js and Prisma ORM to interface seamlessly with external production systems. The platform supports medical researchers with secure, accessible research workflows.
The Challenge
NIHR required a robust, secure, and accessible platform to manage research data, enable role-based editing, and integrate with multiple external systems, all while meeting strict GOV.UK accessibility standards.
The Solution
Implemented serverless patterns to activate data workflows, enabling direct data delivery to the Next.js application. Augmented next-auth to create a sophisticated RBAC OAUTH2 solution, allowing precise control over JWT session lifetimes. Engineered a Next.js app with both SSR and SSG, interfacing with Contentful CMS for a nuanced role-based editing interface. Built multiple interactive forms with React Hook Form and Next.js API routes, facilitating email confirmations via SES and comprehensive server-side validation with intelligent error handling.
Results & Impact
Delivered a secure, accessible, and maintainable research platform for NIHR. The solution achieved perfect Lighthouse scores, met all GOV.UK design system standards, and empowered medical researchers with advanced, user-friendly tools for research data management.