← Back to Projects

PROJECT 03 / 08

Project Management SaaS — Backend

A versioned REST API powering a multi-tenant project management platform — organizations, teams, projects, sprints, and tasks, with server-enforced roles and workflow rules, an audit trail, and Stripe billing.

CLIENT admin · manager · member REST API /v1 auth + role guard workflow transitions sprint rules audit logging billing webhooks STRIPE checkout · plan upgrade DATA STORE org → team → project → task

Overview

This is the backend behind a project management SaaS product. Instead of a flat task list, it models how companies are actually structured: organizations hold teams, teams own projects, projects run sprints, and sprints contain tasks. The API is versioned under /api/v1, documented in Postman, and deployed as a live service on Vercel.

Brief Description

The API serves three roles — admin, manager, and member — and checks every action on the server rather than trusting the interface. Task status changes follow workflow rules, so a move like Backlog straight to Done is rejected. Sprints have their own constraints: only one sprint can be active per project, and completing a sprint returns unfinished work to the backlog automatically. Task moves, assignments, role changes, and payments are recorded in an audit trail, and organizations upgrade to Pro or Enterprise through Stripe Checkout, with the plan updating once payment clears. It powers the companion frontend, which is listed as a separate project.

Challenges Faced

The main challenge was making the server the single source of truth: role permissions, workflow transitions, and sprint constraints all had to be validated in the API and stay correct at every level of the five-level hierarchy. Writing an audit trail that captured meaningful changes without cluttering every endpoint, and keeping an organization's subscription plan in sync with Stripe's payment confirmation, were the other recurring problems. Designing clear, consistent API responses and documenting them in Postman so the frontend could rely on them was a further deliberate effort.

Potential Improvements & Future Plans

Planned next: real-time updates over websockets so boards sync instantly, a notification service for assignments and mentions, reporting endpoints for sprint velocity and burndown, per-organization custom workflows, rate limiting on public endpoints, and an automated test suite around the permission and workflow rules.

API Docs, Demo & Access

Every endpoint is documented in Postman, and a video walks through the API end to end. The source repository is private; the live API is public.

→ Postman API Docs → Demo Video

Demo Admin Access

Email: mustafiz@admin.com

Password: mustafiz@12345