Skip to main content
2024

Curriculum SaaS

Next.js
Puppeteer
Stripe
Playwright
i18n

Description

A PDF resume generator built with Puppeteer. It handles recurring billing through Stripe, supports i18n, and has E2E test coverage with Playwright. A full production SaaS with subscription management.

Features

  • PDF generation with Puppeteer and custom templates
  • Stripe recurring billing with full subscription lifecycle handling
  • Resume templates in two languages (EN/PT)
  • Playwright E2E tests covering the critical user flows

Challenges

  • Getting PDF layouts to come out exactly right from dynamic HTML/CSS templates
  • Running Puppeteer in a serverless environment and cutting down cold starts
  • Writing E2E tests that cover the payment flows

Learnings

  • How to run PDF generation at scale and keep Puppeteer efficient
  • Managing the Stripe subscription lifecycle: trials, upgrades, cancellations
  • Structuring Playwright E2E tests for a SaaS app