Asia/Karachi
Posts

Get Optimise – AI-Powered SaaS Platform

August 10, 2025
Get Optimise

An AI-powered SaaS platform that streamlines business workflows, surfaces insights, and automates routine tasks.

My Role

Full-Stack Developer

Scope

End-to-end build & deploy

Stack

Next.js (TS), Better Auth, Stripe, MySQL + Drizzle, Python (Flask/FastAPI)

Get Optimise is an AI-powered SaaS application designed for teams to automate workflows, make data-driven decisions, and manage subscriptions seamlessly. The frontend is built with Next.js (TypeScript), the backend uses MySQL with Drizzle ORM for type-safe access, and AI features are powered by Python services (Flask/FastAPI). Stripe handles secure subscription billing. I owned the full lifecycle from architecture to deployment.
  • Frontend: Next.js (App Router) with TypeScript and reusable UI patterns.
  • Backend: MySQL + Drizzle ORM for schemas, migrations, and queries.
  • AI Services: Python microservices for inference, recommendations, and content generation.
  • Auth & Payments: Better Auth for RBAC + sessions; Stripe for subscriptions and invoices.
  • Infra: Containerized services with secure environment configuration and CI/CD.
🤖 AI Automations

Python ML pipelines generate insights, recommendations, and smart summaries from business data.

🧱 Typed CRUD Modules

End-to-end Create/Read/Update/Delete flows with TypeScript safety and Zod validation.

💳 Subscriptions

Stripe billing, trials, proration, and webhooks synced to user roles via Better Auth.

Frontend
  • Next.js App Router with Server Actions for secure data workflows
  • TypeScript-first components and form validation (Zod)
  • Optimistic UI and streaming for perceived performance
Backend
  • MySQL with Drizzle ORM for schemas, relations, and migrations
  • Better Auth for RBAC, sessions, and OAuth2 providers
  • Stripe webhooks to sync subscription status → feature access
  • Python (Flask/FastAPI) microservices for AI inference & batch jobs
  • Hardened security with role-based access, input validation, and least-privilege API design.
  • Reduced runtime errors via end-to-end type safety (TypeScript + Drizzle).
  • Stabilized billing flows by reconciling Stripe events with auth roles in real time.
  • Improved responsiveness using streaming UI and queue-backed AI jobs.
A robust, scalable AI SaaS foundation: teams automate repetitive work, get actionable insights, and manage subscriptions without friction. The typed stack and clear service boundaries enable fast releases and confident iteration.
Next.js (TypeScript)MySQLDrizzle ORMBetter AuthStripePython (Flask/FastAPI)
On this page