All projects

Company-Wide Application Architecture

Shared Front-End & Backend Architecture

Designed the shared architecture adopted across company projects: the front-end foundation, the backend structure, and the error-handling contract that connects them.

Role
Architecture design · Front end and backend structure
Focus
Adopted across company projects · One error contract · Design tokens

Client and internal details are intentionally kept abstract.

Tech stack
  • React
  • TypeScript
  • Tailwind CSS
  • TanStack Query
  • Zustand
  • Zod
  • Axios
  • C# / ASP.NET Core
Product scope
  • Shared components
  • Design-token system
  • Tailwind themes
  • Multi-session authentication
  • Backend structure
  • Error-handling contract

The problem

New projects repeated the same setup work and architecture decisions, and front-end and back-end developers agreed on API behavior project by project.

Result

Adopted across company projects. It cut project setup time and repeated architecture decisions, and gave front-end and back-end developers an agreed contract from day one.

Key contributions

What I built

  1. Shared components

    Designed the shared component layer and project structure that new applications start from.

  2. Design tokens and themes

    Built a design-token system with Tailwind themes, so applications share one visual foundation.

  3. Multi-session authentication

    Implemented multi-session authentication using secure cookies.

  4. Backend structure

    Defined the backend structure the front end builds against, so both sides start from the same contract.

  5. Error-handling contract

    ASP.NET Core global exception handling (IExceptionHandler + ProblemDetails) returns one error shape, handled on the front end by a single Axios interceptor.

  6. Per-client theming

    In some projects, extended the design tokens to load values from the database at runtime, so apps could be themed per client. This sits outside the shared template.

Architecture

Layered foundation

  1. Application

    Any new company project

  2. Front-End Foundation

    Shared components, design tokens, Tailwind themes

  3. Axios Interceptor

    One place on the client that handles API errors

  4. Error Contract

    ProblemDetails: one error shape

  5. ASP.NET Core Backend

    Global exception handling with IExceptionHandler

  6. Authentication

    Multi-session auth with secure cookies

Every application starts from the same layers. Internal details are intentionally abstract.

Engineering challenge

One error shape, end to end

Every exception on the server goes through ASP.NET Core global exception handling (IExceptionHandler) and comes back as ProblemDetails. On the client, a single Axios interceptor reads that one shape, so error handling lives in one place on each side.

Contact

Available now for senior front-end and full-stack roles

Remote (Europe and international), or hybrid / on-site in Prishtina. CET time zone. Tell me about the role and the team; I'll reply by email.