This repository contains a starter full-stack setup for 96ply, a SaaS compliance management platform.
- Frontend: React + Vite + Tailwind CSS
- Backend: Node.js + Express + JWT auth
- Storage: Local file storage (Replit-friendly) with optional AWS S3 support
- Data: JSON-file database scaffold for uploaded document, AI guidance, notification, and report-sharing records
- AI Guidance: OpenAI GPT API (optional) with local rule-engine fallback
- Shared API contracts:
/api
- Immutable-style audit logs with hash chaining (
previousHash+hash) for tamper evidence. - Version restore API:
POST /api/documents/:docId/restore/:versionId. - Offline document capture queue in browser local storage with automatic sync when connectivity returns.
- Language selector supports: English, French, Spanish, Punjabi, Hindi, Tigrinya.
- High-contrast mode toggle.
- Keyboard-visible focus styles and skip-to-content link.
- ARIA labels/tooltips/plain-language helper text across key actions.
- Pre-built templates: US I-9, Canadian work permits, cross-border compliance.
- Export options: PDF, CSV, Excel.
- Password-protected sharing available via hashed share passwords.
POST /api/signupPOST /api/loginPOST /api/logoutPOST /api/uploadPOST /api/verifyPOST /api/documents/:docId/restore/:versionIdGET /api/documentsGET /api/timeline/:userIdPOST /api/ai-guidanceGET /api/ai-guidance/history/:userIdGET /api/notifications/:userIdPOST /api/notifications/:userId/:notificationIdGET /api/reports/templatesPOST /api/reports/exportPOST /api/reports/share
npm install
npm run dev- API handlers include inline comments and are scaffold-level implementations.
- Replace scaffold persistence with a production-grade database before launch.