Wooble
Back to suchitha's profile
Verified on Wooble

EXPIRY ALERT ' 26

suchitha

Overview

Setup Instructions: Requires Node.js 18+, PostgreSQL 14+, and an OpenAI API key Clone repo → cd server && npm install && cp .env.example .env → add your DATABASE_URL and OPENAI_API_KEY in .env npx prisma generate && npx prisma migrate dev --name init && npm run seed npm run dev (backend on port 5000) New terminal: cd client && npm install && cp .env.example .env && npm run dev Test credentials / demo data: The seed script auto-loads 12 realistic records (expired, expiring soon, active) across 4 stakeholders — the dashboard is fully populated on first load. Design decisions: Status (Active/Expiring Soon/Expired) is purely deterministic date math — never AI-derived, so compliance logic is always trustworthy Every AI call has a rule-based fallback so the app never breaks if the API is slow The chatbot is grounded in a live snapshot of the document DB — it cannot hallucinate records that don't exist