A full-stack B2B SaaS application built for India's 400,000+ practicing Chartered Accountants.
- Authentication — CA Register & Login with JWT tokens
- Client Management — Add, view, update, delete clients with PAN details
- Document Upload — Upload ITR and notice PDFs with automatic text extraction
- AI Assistant — Summarize documents, draft ITD notice replies, ask questions
- Anomaly Detection — Scan all clients and flag suspicious patterns
- Notice Tracker — Track ITD notices with deadlines and status
- React Frontend — Clean web interface for all features
Backend
- Python 3.12
- FastAPI
- PostgreSQL
- SQLAlchemy
- JWT Authentication
- PyMuPDF (PDF text extraction)
- Groq AI (LLaMA 3.3)
Frontend
- React.js
- JavaScript
git clone https://github.com/allen745/ca-saas.git
cd ca-saaspython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpsql -U postgres
CREATE DATABASE ca_saas;
\quvicorn main:app --reloadcd ca-saas-frontend
npm install
npm startPOST /auth/register— Register a new CAPOST /auth/login— Login and get JWT token
POST /clients/— Add clientGET /clients/— List all clientsGET /clients/{id}— Get one clientPUT /clients/{id}— Update clientDELETE /clients/{id}— Delete client
POST /documents/upload/{client_id}— Upload PDFGET /documents/{client_id}— List documentsGET /documents/detail/{id}— Get document
POST /ai/summarize/{document_id}— Summarize documentPOST /ai/draft-reply/{document_id}— Draft ITD notice replyPOST /ai/ask/{document_id}— Ask question about document
GET /anomaly/scan— Scan all clients for anomalies
POST /notices/— Add noticeGET /notices/— List all noticesGET /notices/overdue— Get overdue noticesGET /notices/due-soon— Get due soon noticesPUT /notices/{id}— Update notice statusDELETE /notices/{id}— Delete notice
- Block 1 — Authentication
- Block 2 — Client Management
- Block 3 — PDF Upload & Text Extraction
- Block 4 — AI Features
- Block 5 — Anomaly Detection
- Block 6 — Notice Tracker
- Block 7 — React Frontend
- Deploy to production
- Switch to Claude AI
- Mobile app
Allen Christian — Building in public
- GitHub: github.com/allen745
- LinkedIn: linkedin.com/in/allen-stivanson-christian-74094237a
MIT License