AI legal assistant · Philippine law · Next.js
Alexus Legal AI
A warm, conversational AI legal companion for Filipinos: explains Philippine law in plain language, relates it to your situation and ends with concrete next steps.
Sole engineer · 2026 · Designed, built and deployed by Alexus Karl Joaquin.
Model
GPT-4o-miniResponses
StreamingHistory
PostgreSQLInstall
PWAWhat I built
- Streaming chat on the Next.js App Router with a system prompt engineered for empathy: acknowledge the person's situation, tie answers to their specific case, explain statutes simply, always finish with actionable steps.
- Covers the Constitution, Civil Code, Revised Penal Code, Labor Code, Family Code, property, tax, corporate and procedural law, with a clear "not legal advice" boundary.
- Per-user conversation history persisted in PostgreSQL (conversations and messages APIs, auto-initialised schema), plus image upload for document analysis.
- Mobile-first glass UI with popular-question shortcuts and a PWA manifest so it installs like a native app.
Skills demonstrated
- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS
- OpenAI API (streaming)
- Prompt engineering
- PostgreSQL (pg)
- REST route handlers
- Conversation persistence
- Image upload & document analysis
- PWA manifest
- Responsive glassmorphism UI
- Railway
Stack
Next.js 14TypeScriptTailwind CSSOpenAI GPT-4o-miniPostgreSQLPWARailway
Screens


More
All projects · Experience · LinkedIn · GitHub