skip to content

// backend api

TeamFlow

A multi-tenant agile workspace API with sprints, RBAC and a full audit trail.

TeamFlow is a SaaS-style backend for organizations, projects, sprints and tasks. Organizations are fully isolated, roles are enforced by guards, and every change lands in an immutable audit log. Built during a 96-hour backend program where I ranked first in the cohort.

sourceapi docs
// cards03/21
year
2026
type
backend api
group
platforms and backends
stars
13

the problem

//01the problem

Agile tooling needs more than CRUD: tenant isolation, a real permission model, notifications that arrive on time, and a history nobody can quietly edit.

how it works

//02how it works

  1. 01

    Organization as the boundary

    Every query is scoped through membership, and a four-tier role hierarchy (owner, admin, member, viewer) is enforced with NestJS guards.

  2. 02

    Work modeled properly

    Tasks carry priorities, story points, subtasks, dependencies, labels, attachments and threaded comments, with an automatic activity timeline per task.

  3. 03

    Events that reach people

    Notifications stream over Server-Sent Events and email, and scheduled jobs expire stale invitations on their own.

highlights

//03highlights

  • Ranked 1st in the MAPS backend cohort with this project
  • JWT access and refresh rotation with OTP email verification
  • Immutable audit log of all platform activity
  • Live, documented REST API

built with

  • NestJS
  • Prisma
  • PostgreSQL
  • JWT
  • SSE
  • Resend
  • Swagger

//04contact

Say hello. I read everything.

Email is the fastest way to reach me. For anything that needs a conversation, book a call.

to

name
Khaled Saeed
country
Lebanon