Umer Mughal
Python SaaS backendCase Study

Plan Analytics / RANA 3

I implemented FastAPI document processing with Azure OpenAI, Python dependency scheduling, JWT authentication and Stripe subscriptions.

My Role

Backend engineering with frontend delivery

My contribution

I implemented document ingestion, structured task generation, Python scheduling logic, JWT authentication using JWKS, Stripe subscriptions and Excel import/export, with supporting React/TypeScript delivery.

Problem

Project planners needed to turn scope documents into tasks and schedules, then work with the result through a scheduling interface and Excel files.

The problem

Document extraction and schedule calculation have different failure modes. A plausible model response should not decide dependency or working-calendar calculations on its own.

Implementation and engineering decisions

1

Separate document interpretation from scheduling

The Challenge

Scope documents contain unstructured descriptions, while schedule calculations need explicit rules.

My implementation

I integrated Azure OpenAI for document ingestion and structured task generation, then implemented scheduling through explicit Python rules.

Generated task data feeds a scheduling layer whose dependency and calendar behavior is defined in Python.

2

Resolve dependencies and working dates

The Challenge

Task dates depend on relationship types, lag values and the configured working calendar.

My implementation

I used topological sorting and implemented finish-to-start, start-to-start, finish-to-finish and start-to-finish dependencies, with lag calculations and configurable working calendars.

The scheduling logic calculates task relationships and working dates separately from document extraction.

3

Support the planner workflow

The Challenge

Planners need authenticated access, subscriptions and a way to exchange schedules with existing spreadsheets.

My implementation

I implemented JWT authentication using JWKS, Stripe subscriptions and Excel import/export, with a React/TypeScript interface.

These features support account access, subscription-based access and schedule editing through the interface and Excel files.

Technology

Backend

  • Python
  • FastAPI
  • PostgreSQL
  • JWT / JWKS

Integration

  • Azure OpenAI
  • Stripe subscriptions
  • Excel import/export

Frontend

  • React
  • TypeScript

Evidence and availability

Historical implementation summary. I no longer have access to the platform, so a current live demonstration is unavailable. Confidential source code, private screenshots and operational data are not shared.