Client Background & Motivation
Regency Specialist Hospital serves a diverse community, providing world-class medical care across various specialties. Their existing WordPress website had grown cumbersome to maintain, especially for a site this large. While WordPress had served its purpose, the hospital’s IT team recognized the need to step into a more modern, scalable ecosystem.
Key motivations for this shift included:
- Improved Content Management: The marketing and administrative teams wanted a more flexible, intuitive content system.
- Better Performance: A hospital site with numerous pages, doctor profiles, and booking flows required faster load times and robust scalability.
- Future-Proof Technology Stack: They needed to avoid plugin bloat and ensure the site could incorporate more advanced features without frequent overhauls.
Project Goals & Success Metrics
- Seamless CMS Experience
Regency Specialist Hospital needed a CMS that allowed non-technical staff to update pages, specialist profiles, and event information in real-time—without the risk of “breaking” anything. Sanity CMS provided exactly that level of flexibility and security. - High Performance & Global Accessibility
From doctors’ profiles to patient resources, the site needed near-instant loading across devices. We aimed for sub-second page loads and fast in-site navigation, critical for a platform that prospective and existing patients rely on at all hours. - Booking & Payment Integration
A seamless booking flow was essential for both patients and internal staff. Integration with Regency’s existing calendar system and Billplz meant easy appointment booking and secure online payment processing. - Scalability & Future Expansion
Given the hospital’s growth, the site had to be built with a modern approach that could scale effortlessly, accommodating new departments, service lines, and digital offerings.
The Technology Stack
Next.js
- Why Next.js?
Next.js offers server-side rendering (SSR) and static site generation (SSG) for high-performance page loads. Its flexibility in building modern, responsive interfaces made it ideal for an enterprise-level hospital site.
Sanity CMS
- Why Sanity?
As a headless CMS, Sanity provides a clean, user-friendly interface for content editors. It also offers real-time collaboration features and schema flexibility, making it easier to tailor content structures for a large hospital system.
AWS Infrastructure
- Lambda@Edge + CloudFront: Ensures global distribution and low-latency content delivery.
- S3 + ACM: S3 for static asset hosting, and AWS Certificate Manager (ACM) for secure HTTPS.
- CodePipeline + CodeBuild: Automates our build and deployment processes, allowing for continuous integration and delivery (CI/CD).
- IAM + AWS CDK: Fine-grained access controls via IAM, while AWS CDK offers Infrastructure-as-Code for more efficient, repeatable deployments.
Why not AWS Amplify?
At the project’s inception, AWS Amplify did not fully support some of the cutting-edge Next.js features we needed. Thus, we opted for a customized AWS architecture that allowed maximum control and cost optimization.
Third-Party Integrations
- Billplz: For secure payment processing directly on the site, ensuring patients can pay for bookings or services seamlessly.
- HubSpot: For marketing automation and lead tracking, with custom APIs to link form submissions and payment confirmations directly into Regency’s CRM.