A.AGHAYARI
ENFA
Name
Amirhossein Aghayari
Focus
Backend · APIs · Data
Status
Open to full-stack opportunities

Backend-firstfull-stack,for real products.

I'm Amirhossein Aghayari. I build reliable, maintainable systems from complex business requirements: the API, the data model and the interface on top. Backend is where I go deepest.

01GET /work200 OK

Selected work, as case studies.

Six projects, each with my role and the engineering behind it. The first one gets the full write-up.

01 / 06Backend servicePersonal project2025

RsvAPI

An event-ticketing backend where the last ticket can only be sold once.

A scalable ticketing backend built with Node.js and TypeScript. It covers the whole reservation lifecycle: events and tickets, reservations, and payment processing.

Stack

  • Node.js
  • TypeScript
  • Express.js
  • PostgreSQL
  • TypeORM
  • Redis
  • JWT
  • Zod
  • Swagger
  • Integration tests
  • Docker

The problem

When many people go for the same limited tickets at once, naive code sells a seat twice. A ticketing backend has to stay correct under concurrent requests, not only on the happy path.

My role

Designed and built the service end to end.

Decisions that mattered

  1. 01
    Reservations run as transactions

    Creating a reservation and updating availability succeed or fail together, so the database never ends up half-updated.

  2. 02
    Explicit concurrency control

    Competing requests for the same ticket are handled deliberately, so a race condition can't push sales past what is available.

  3. 03
    Redis caching

    Frequently read data is cached in Redis to take pressure off PostgreSQL.

  4. 04
    Clean layers, checked edges

    Routes, business logic and data access stay separate. Input is validated with Zod, auth uses JWT, the API is documented in Swagger, and integration tests plus Docker keep it reproducible.

The hard part

Making overbooking impossible rather than unlikely. The interesting work was in the concurrent paths, not the CRUD.

Lawyer AI interface
fig. 2Lawyer AI

02 / 06Full-stack SaaSSaaS project2025

Lawyer AI

An AI assistant for constitutional-law questions.

An AI platform that answers legal questions grounded in constitutional law.

My role
Full-stack: the Next.js client and the Nest.js API.
Engineering notes
  • Next.js client with React Query, Tailwind CSS and shadcn/ui, localised with i18next.
  • Nest.js API on TypeORM and PostgreSQL, with JWT authentication.
  • Answers are generated through the OpenAI API.
  • Next.js
  • Nest.js
  • TypeORM
  • PostgreSQL
  • JWT
  • React Query
  • Tailwind CSS
  • i18next
  • shadcn/ui
  • OpenAI API

How it fits together

  1. 01

    Learner picks a scenario

    Frontend (teammate)

  2. 02

    API authenticates and routes

    Nest.js · JWT · Passport.js

  3. 03

    Scenario is generated

    OpenAI API

  4. 04

    Progress is stored

    PostgreSQL · TypeORM

03 / 06Backend, SaaSTeam project2025

AI Language Learning

Scenario-based language practice, powered by AI.

A language-learning platform built around scenario conversations: ordering food, job interviews, travel.

My role
Built the entire backend. A teammate built the frontend separately.
Engineering notes
  • API design in Nest.js, with PostgreSQL and TypeORM.
  • JWT and Passport.js authentication.
  • OpenAI integration for dynamic scenario generation, plus learner progress tracking.
  • TypeScript
  • Nest.js
  • PostgreSQL
  • TypeORM
  • JWT
  • Passport.js
  • OpenAI API
  • Cloudinary
Etutor Online interface
fig. 4Etutor Online

04 / 06Full-stack platformTeam project2024

Etutor Online

A Udemy-style platform where anyone can teach or learn.

Users can be both students and instructors: students buy and take courses, instructors upload their own.

My role
Full-stack developer on a team.
Engineering notes
  • Next.js with Server Actions on MongoDB and Mongoose.
  • Forms built with React Hook Form and validated with Zod.
  • Course media handled through Cloudinary.
  • Next.js
  • MongoDB
  • Mongoose
  • Server Actions
  • React Hook Form
  • Zod
  • Tailwind CSS
  • shadcn/ui
  • Cloudinary
Student Articles dashboard
fig. 5Student Articles

05 / 06Full-stack web appUniversity project2025

Student Articles

Submission and grading for students and professors.

Students upload articles and follow feedback and grades. Professors review, score and comment from a dashboard.

My role
Full-stack developer.
Engineering notes
  • Role-based access separates the student and professor experiences.
  • File uploads and a grading dashboard on Next.js, Server Actions and MongoDB.
  • Redux Toolkit for client state, GSAP for motion.
  • TypeScript
  • Next.js
  • MongoDB
  • Mongoose
  • Server Actions
  • React Hook Form
  • Zod
  • Redux Toolkit
  • GSAP
  • Tailwind CSS
  • shadcn/ui
WorldWise map interface
fig. 6WorldWise

06 / 06Full-stack web appPersonal project2024

WorldWise

A map-first notebook for trips you want to remember.

Keep travel plans and notes on trips, designed as a full-stack desktop app.

My role
Built the front end and the back end.
Engineering notes
  • React and React Router front end with Leaflet maps.
  • Express and MongoDB back end, with input validated by Zod.
  • React.js
  • Express.js
  • React Router
  • MongoDB
  • Mongoose
  • Zod
  • Leaflet
  • Context API
  • CSS Modules
02GET /stack200 OK

The stack, in context.

Listed in the order a request travels through them. Pick a project to see what it actually ran on.

Highlight a project

  1. L1

    Interface

    • Next.js
    • React
    • React Query
    • Redux Toolkit
    • React Hook Form
    • Tailwind CSS
    • shadcn/ui
    • GSAP

    Next.js and React interfaces, forms validated end to end, motion only where it helps.

  2. L2

    API

    Where I go deepest

    • Node.js
    • TypeScript
    • NestJS
    • Express
    • REST
    • WebSocket
    • OpenAI API
    • Swagger

    REST APIs in Express and NestJS, WebSockets, and OpenAI integrations.

  3. L3

    Auth & validation

    Where I go deepest

    • JWT
    • Passport.js
    • Authorization
    • Zod

    JWT and Passport.js authentication, role-based access, Zod validation at the edges.

  4. L4

    Data

    Where I go deepest

    • PostgreSQL
    • TypeORM
    • MongoDB
    • Mongoose
    • Redis

    PostgreSQL with TypeORM, MongoDB with Mongoose, Redis for caching.

  5. L5

    Infra & delivery

    • Docker
    • GitHub Actions
    • Vercel
    • Cloudinary
    • Git

    Docker, GitHub Actions CI/CD, Vercel deploys, Cloudinary for media.

03GET /about200 OK

Behind the commits.

Amirhossein Aghayari at his desk
The desk where it happens

I care about building systems the right way, not just writing code.

Backend is where I go deepest, but I like owning a feature end to end: from the API and the data model to the interface people actually use.

Focus
Backend engineering, software architecture, clean code
Approach
Reliable, maintainable and practical beats clever
Routine
Some coding, learning and reading every day, plus regular exercise
Believes
Progress comes from consistency, curiosity and commitment
Looking for
Full-stack roles and product teams
04POST /contactAwaiting request

Let’s build something useful.

I’m open to full-stack opportunities, collaborations, and conversations about your next product.

200 OK · end of response