About This Website
Jody Pries Pickleball is a static, multi-page site backed by Firebase and Google Cloud. The browser runs the interface. Cloud Functions handle workflows such as approving lesson bookings, updating coaches’ calendars, and processing lesson-note dictation.
System architecture
How pages reach your browser and connect to the services the site uses.
Squarespace
Domain DNS settings
Firebase Hosting
Static files, clean URLs, and path rewrites
Browser
HTML, CSS, JavaScript, and the Firebase Web SDK (compat)
Auth and Firestore via the Web SDK
Identity, data, and files
Firebase managed services
- Firebase Auth
- Sign-in and user identity
- Firestore
- Site records, access rules, and indexes
- Cloud Storage
- Waiver PDFs and attachments
Server requests via callable functions
Cloud Functions (2nd gen)
TypeScript on Node.js 22
- Gmail
- Inbox sync and outgoing email
- Google Calendar
- Coaches’ calendars
- Gemini
- Dictation and lesson-note suggestions
- Secret Manager
- Credentials for integrations
By the numbers
Snapshot as of
- Published files
- 235
- Includes 19 HTML files, 99 JavaScript files, plus stylesheets and media.
- JavaScript function definitions
- 9,072
- 5,329 in the site’s own JavaScript files and 3,743 embedded in HTML, excluding libraries.
- Automated test cases
- 8,985
- Across the public and admin suites in GitHub Actions.
- Browser check scripts
- 74
- Playwright checks cover workflows, layout, tap targets, and theme behavior.
- Responsive test combinations
- 385
- Seven pages tested at 11 widths and five heights.
How the pieces fit
Pages ship as HTML, CSS, and JavaScript
Features such as accounts and groups have their own HTML pages. Script tags load shared helpers and the Firebase Web SDK. Firebase Hosting serves the pages directly from public/, and version tags in script and stylesheet URLs help browsers pick up changes. The admin page’s script is assembled from admin-src/ before publishing.
What happens when you follow a link
The www address redirects to jodypriespickleball.com. Hosting rewrites short links beginning with /i/ and /g/ to the invite or group page. A lesson’s .ics link reaches a server function, which checks that the booking is approved and creates a calendar file you can open in your calendar app.
Where the browser hands work off
Firebase Auth establishes who’s signed in. Firestore rules govern the browser’s direct database access. Server functions use the Firebase Admin SDK and enforce access in the workflows they handle. They also generate waiver PDFs with PDFKit and use Day.js for date handling, including Pacific time.
How updates reach the live site
Node’s test runner and the Firebase Emulator Suite exercise application behavior. Playwright checks the browser experience across screen sizes and themes. GitHub Actions runs automated checks, the Firebase CLI deploys updates, and npm run check:live compares what Hosting serves with the files committed to main.