Juan Leite, home page
Português Current language: English
Juan Leite, home page
Português Current language: English

ProfessionalEleven Systems · backend and authentication

XI.Support

A support ticket system built backend-first: API, authentication, relational persistence and attachments.

My role

I'm building the system at Eleven Systems, focusing on the backend: API, authentication and infrastructure.

Solution

  • The REST API manages users and tickets.
  • Authentication uses JWT, two-factor verification (TOTP, with recovery codes) and passkeys.
  • Users have roles (administrator, customer), states and access actions.
  • Data lives in a relational database and tickets accept attachments.

Technical decisions

  • FastAPI with Pydantic, so input validation lives in the API models themselves.
  • SQLAlchemy on PostgreSQL, with the schema versioned through Alembic migrations.
  • A Docker environment and a pytest test suite.