Back to projects
personal 57 views

DEMS - Document Eligibility Management System

Workflow-Driven Document Processing & Approval Platform

Full-lifecycle document eligibility platform for environmental permit applications, status tracking, review workflows, and automated official report generation.

Laravel 13PHP 8.3Vue 3TypeScriptVitePiniaPostgreSQLRedisLaravel HorizonLaravel SanctumSpatie PermissionDockerPythonFastAPILangGraphLangChainGoogle Gemini

Problem

Institutions handling environmental eligibility applications need a structured way to receive submissions, verify required documents, route them through reviewer assessment (approve/reject/request revision), and produce an official final report — with role-based access separating applicants, reviewers, and admins.

Solution

A Laravel API + Vue/Quasar SPA with RBAC (Admin/Reviewer/Applicant roles via Spatie Permission), Sanctum token auth, project/document CRUD with a full status workflow, PDF/Excel report generation, and an AI layer (Google Gemini via LangGraph) that pre-classifies uploaded documents and answers applicant questions through a chat widget. Deployed with the backend on Render (Docker) and the frontend on Vercel.

Architecture & Engineering Highlights

  • Built a multi-tier RBAC workflow (Admin, Reviewer, Applicant) for environmental permit documents.
  • Integrated an AI classification service to pre-validate incoming uploads before official review.

System Architecture

[Vue 3 SPA (Vercel)] ---> [Laravel 11 API (Render / Docker)]
                                |
                     +----------+----------+
                     |                     |
                     v                     v
          [PostgreSQL / Redis]      [Python / LangGraph Microservice]

Capabilities

Full Stack Engineering

LaravelVue.jsTypeScriptPiniaViteREST API design

Backend & Data

PostgreSQLRedisLaravel SanctumRBAC (Spatie Permission)Laravel Horizon

AI Engineering

LangGraphLangChainGoogle GeminiRAGLangSmith tracing

Delivery & Quality

equirements DocumentationSoftwarePHPUnitVitestDockerCI/CD (Render + Vercel)Documentation SpecificationSystem ArchitectureDatabase DesignAPI SpecificationUI/UX SpecificationTesting StrategyAutomated TestingIntegration TestingAPI Contract TestingRegression TestingSmoke TestingLoad & Stress TestingSecurity TestingCI/CDDocker-based DeploymentPerformance OptimizationProduction DeploymentDatabase Backup & RecoveryTechnical Documentation

Engineering Decisions

ChallengeDecisionRationale
Decoupling AI document processing from transactional web requests.Separate Python/LangGraph Microservice via Redis QueuePrevents heavy document parsing from impacting core web API latency.

My Contribution

  • Developed the Laravel backend, Vue 3 frontend, and document review state machine.

Quantified Engineering Metrics

3-Tier RBACPDF & Excel ReportsMulti-Stage Status Workflow