# BASC

Member website and portal for the Business Aviation Safety Consortium, a network of business-aviation safety professionals. A public marketing site sells membership by consultation request, and a portal section holds safety data and continuing-education material.

- **Facts:** 2025, Built for a client, Live, role: Project lead
- **What I did:** I led 1 other developer: I assigned the tasks and reviewed the other developer's code. I designed the architecture and did the analysis and investigations. I built the server part and API, the deployment and setup, and wrote the docs and tests.
- **Scope:** fullstack, backend, devops
- **Domain:** travel
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Prisma, PostgreSQL, Clerk, Supabase, Radix UI, Resend, ESLint, Prettier, nuqs, React Hook Form, next-safe-action, React Compiler, Embla Carousel, T3 Env, Google Maps, Zod, date-fns, dotenvx, pnpm, Vercel, GitHub Actions, Figma, shadcn/ui, Supabase Auth
- **Live:** https://basafetyconsortium.org
- **Page:** https://sergey-petrinich.vercel.app/work/basc
- **Screenshot:** https://sergey-petrinich.vercel.app/work/basc.webp

Capabilities:

- Home page, resources page with regulatory documents, partners and standardization speakers, and legal pages
- Consultation request and BASC ID request dialogs that open from any page through a shareable URL flag
- Consultation form with a canvas captcha and shared Zod validation
- Portal landing with resource cards and a data sharing page with member safety charts
- Three continuing-education lists: Safety Roundtable agendas, minutes and archived recordings
- Passwordless email-code sign-in and sign-up on Clerk, with a self-submitting code input and a resend timer
- Private profile page with an update form, backed by profile fields stored in Clerk metadata
- Safe server action layers for public, signed-in and admin calls, with a typed permission matrix
- Resend email sender with a React Email template and delayed send
- Vercel build with type and lint checks moved to a GitHub Actions workflow, plus a README with setup steps

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
