TUPSAFE
Digital PDS and SALN filing for TUP Manila, with AI document search and compliance tracking.
- Category
- Web

Overview
TUPSAFE (TUP System for Automated Filing and e-Compliance) began as a thesis research project. It is a Turborepo monorepo with two portals. In the Employee Portal, staff fill in their PDS and SALN and apply for open positions. In the Admin Portal, HR reviews submissions, tracks compliance and runs recruitment. Its AI features, an assistant for compliance questions and document search, use LangChain, OpenAI embeddings and Pinecone. The system generates government-standard PDFs, limits access by role and sends real-time notifications. It runs in Docker on AWS EC2 behind Nginx, with CI/CD through GitHub Actions.
What it does
- Dual-portal monorepo architecture (Employee + Admin) with Turborepo
- CSC-compliant PDS and SALN digital forms with PDF generation
- AI-powered compliance assistant using LLM integration
- Role-based access control (Applicant, Employee, Supervisor, HR, Admin)
- Recruitment workflow with job posting, application, and hiring pipeline
- Production deployment on AWS EC2 with Docker, Nginx, and GitHub Actions CI/CD
Architecture
Portals
- Employee Portal
- Admin Portal
Application
- Next.js 15
- Turborepo monorepo
Services
- AI compliance assistant
- AI document search
- PDF generation
- Real-time notifications
AI and data
- LangChain
- OpenAI Embeddings
- Pinecone
- PostgreSQL
- Supabase
- Redis
Infrastructure
- Docker
- AWS EC2
- Nginx
- GitHub Actions CI/CD
Built with, 16
- Next.js 15
- React 19
- TypeScript
- Tailwind CSS
- PostgreSQL
- Drizzle ORM
- Supabase
- Redis
- Python
- FastAPI
- LangChain
- Pinecone
- OpenAI Embeddings
- Docker
- AWS EC2
- Nginx



