# Rotessa

Web front end of an online payments platform for businesses in Canada and the US that collect pre-authorized debits and bank transfers from the customers of the business. A merchant dashboard for contacts, bank accounts, authorizations and payments, a multi-step merchant onboarding application, and public pages where a merchant's customers sign a debit agreement, verify microdeposits or unsubscribe. English and French.

- **Facts:** 2024, Built for a client, In progress, role: Team member
- **What I did:** I worked with 4 other developers on this web front end (80+ pages, English and French).
- **Scope:** fullstack
- **Domain:** finance
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, next-intl, Zustand, TanStack Query, TanStack Table, React Hook Form, Zod, Radix UI, Headless UI, shadcn/ui, Tiptap, nuqs, date-fns, Jest, ESLint, Prettier, OpenAPI, GitHub Actions, Webpack, Figma
- **Page:** https://sergey-petrinich.vercel.app/work/rotessa
- **Screenshot:** https://sergey-petrinich.vercel.app/work/rotessa.webp

Capabilities:

- Application of 30+ screens whose page list is rebuilt from server state, with branches for owner type, business type, third parties and number of owners
- Progress pane with five section headers and a status per page
- Pending screen that shows the one blocker that matters: failed bank check, owner ID check or review
- Contact directory with a master-detail profile and a new contact wizard
- Bank accounts with masked numbers and permission-gated reveal, and debit authorizations
- Upcoming and history payments in side sheets that keep their state in the address bar
- Five-step debit agreement, microdeposit verification and email unsubscribe, with no login
- One permission model for pages, navigation, buttons and masked data, with sign-out on 401 and permission refresh on 403
- Roles and per-resource permissions, login with a second step for a two-factor code
- English and French with fallback to English
- Typed client for 70+ API operations generated from an OpenAPI description

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)
