Cases
Live cases pulled from the GuardianAI API.
Admin Access
Create Case
Test Production CRUD
closed# GuardianAI Case Manager GuardianAI is a security-first case management system built to demonstrate modern full-stack engineering practices, cloud deployment discipline, and production-minded architecture. ## Live URLs - Frontend: `https://guardianai-web.vercel.app` - API: `https://api.socrateszayas.com` - Health Check: `https://api.socrateszayas.com/health` ## Current Stack - **Frontend:** Next.js - **Backend API:** Fastify - **ORM:** Prisma - **Database:** PostgreSQL - **Infrastructure:** Docker - **Reverse Proxy:** Nginx - **TLS/SSL:** Let's Encrypt (Certbot) - **Cloud Host:** AWS EC2 - **Frontend Hosting:** Vercel - **Language:** TypeScript ## Current Features ### Health & Diagnostics - `GET /health` - `GET /db-check` ### Cases API - `GET /cases` - `GET /cases/:id` - `POST /cases` - `PATCH /cases/:id` - `DELETE /cases/:id` ### Frontend - View live cases from the deployed API - Create cases from the production UI - Integrated production frontend ↔ backend flow over HTTPS ## Deployment Architecture GuardianAI is deployed as a split frontend/backend system: - **Vercel** hosts the Next.js frontend - **AWS EC2** hosts Docker containers for: - Fastify API - PostgreSQL database - **Nginx** proxies HTTPS traffic to the API container - **Certbot / Let's Encrypt** manages TLS certificates - **Vercel environment variables** point the frontend to the production API ## Monorepo Structure ```text guardianai/ ├─ apps/ │ ├─ web/ # Next.js frontend │ └─ api/ # Fastify API ├─ packages/ # shared code (planned) ├─ docs/ # architecture and runbook ├─ infra/ # infrastructure (planned) └─ docker-compose.yml \## Current Stack: LOCAL HOST \- \*\*Frontend:\*\* Next.js \- \*\*Backend API:\*\* Fastify \- \*\*ORM:\*\* Prisma \- \*\*Database:\*\* PostgreSQL \- \*\*Infrastructure:\*\* Docker \- \*\*Language:\*\* TypeScript \- \*\*Frontend Hosting:\*\* Vercel \## Current Features \### Health \& Diagnostics \- `GET /health` \- `GET /db-check` \### Cases API \- `GET /cases` \- `GET /cases/:id` \- `POST /cases` \- `PATCH /cases/:id` \- `DELETE /cases/:id` \## Architecture Overview GuardianAI is structured as a monorepo: ```text guardianai/ ├─ apps/ │ ├─ web/ # Next.js frontend │ └─ api/ # Fastify API ├─ packages/ # shared code (planned) ├─ docs/ # architecture and runbook ├─ infra/ # infrastructure (planned) └─ docker-compose.yml \## Local Setup \### 1. Start database ```bash docker compose up -d
ID: cmnyuef9t0002ns3xx2f75hss
Created: 4/14/2026, 4:35:15 PM
Updated: 4/14/2026, 8:57:02 PM