CV

Ceviant Customer Portal.

Customer-facing treasury app. Invited company users sign in with MFA, complete KYC, connect bank accounts, send single and bulk payments, trade forex, issue invoices and purchase orders, and set the roles and approval rules for the company's team.

Finance

Year
2023
Built for a client
My part
Team member
Core stack
18 technologies
Docker, Docker Compose, Express, Formik

My role

I was a front-end developer on the Ceviant product and, once the senior developers left, its most senior one. I led 4 developers there, one of them an intern I mentored.

Frontend

Capabilities

Access

  • Sign-up from an invitation, login, SMS code, authenticator-app MFA, magic link and new-device registration
  • Device fingerprint headers on every API call with an ad-blocker screen, and an idle timer shared across tabs with a log-out dialog and one error channel for 401, 403 and locked users

Money

  • Bank connection and account details with alias, emails and virtual accounts
  • Single and bulk payment orders, with a Flatfile spreadsheet import
  • Forex orders in Spot, Market and OTC modes with timed quotes
  • Escrow, stored value accounts, merchant collection and cards

Records and compliance

  • Counterparties with per-country bank forms, crypto wallets and invites, plus invoices, prepayment invoices and purchase orders with PDF preview
  • Three-step KYC form with directors, shareholders and document upload
  • Dashboard with a currency chart, a bank chart and a world map of active accounts

Governance and shared kit

  • Users, roles with permission groups, approval rules builder and audit trail
  • One search contract for every table, with an export that repeats the query without paging
  • 90+ pages and 1,000+ component files

Patterns and decisions

  • The app runs on the Next.js pages router and uses Styled Components for styling. It has 90+ pages and 1,000+ component files.
  • Under the dashboard the app builds a deep provider tree: SWR, auth, user, dashboard and dialog contexts. Outside it, a light reducer holds the login and onboarding state.
  • Every API path lives in one typed endpoints object. Data hooks sit on one shared Axios client, and there are 100+ of them.
  • Most forms use Formik with Yup, in 48 validation modules. The KYC form uses React Hook Form. The bank-connection dialog is an XState machine.
  • Hooks export their SWR keys, so another component can refresh the same cache entry after a write.
  • All amounts travel as minor units, and one set of helpers converts and formats them.
  • One build serves production and sandbox. The environment comes from a setting and the hostname.
  • Shared pieces cover inputs, tables with filters, dialogs, a stepper, toasts and PDF pages.

Cases

Device fingerprint on every API call. The back end wanted device, location and confidence data with each request. That data comes late, from a third-party script. A hook reads the FingerprintJS Pro visitor result and turns it into a device fingerprint header, a confidence header and client location headers. It installs them on the shared Axios client. The app layout renders nothing until the script answers. If the script fails, it shows an ad-blocker screen. After login the user's email becomes the visitor tag.

Forex orders in three modes. Spot, market and over-the-counter orders need different inputs, rates and limits. The new order page has a tab for each, picked by a query parameter. Spot recalculates the other amount when the rate or the last edited side changes, and shows toasts for a missing rate, unavailable funding and a minimum size. Market derives the total or the volume from the price. Over the counter asks for a quote and shows a timed quote card that the user can accept, reject or let expire. Cut-off limits are checked on the quote. Debit accounts are limited to active accounts of active banks.

Approval rules builder. Customers set who must approve which payments, by amount, payment type, account and creator. The form is a Formik field array of conditions. The Yup schema changes per condition type and operator with a lazy schema: one value for "is equal", at least two for "in". Approvers must be unique. The rule name is checked against the API with a debounced async test that remembers its last answer. The role form reuses the same style, with permission groups as checkboxes and read-only system roles.

Core stack

Animation & 3D

APIs & back end

Design & collaboration

Frameworks, routing & apps

Infrastructure & observability

Languages & markup

Quality & tooling

UI kits & styling