A simple web platform to manage insurance clients, contracts, payments, and financial reports. Built with Python FastAPI (backend) and React/SolidJS (frontend).
- ๐ Login securely as an admin user
- ๐ฅ Upload Excel files with lists of clients and insurance contracts
- ๐ฅ See all clients (โAssurรฉsโ) and add new ones
- ๐ View and manage contracts and payment status
- ๐ต Track payments (โRรจglementsโ) and see payment history
- ๐ Download PDF reports for caisse (cash) and credit status
- ๐ Get a dashboard with total clients, contracts, and financial summaries
- Go to the
backfolder:cd back - Install Python requirements:
pip install -r requirements.txt
- Start the API server:
uvicorn main:app --reload
- Go to the
frontfolder:cd front - Install JS dependencies:
npm install
- Start the frontend:
npm run dev
- Open ๐ http://localhost:3000 in your browser.
- ๐ Login: Use your admin account.
- ๐ฅ Upload Excel: Go to โUpload Excelโ and select your file (see below for format).
- ๐ฅ Manage clients: Go to โAssurรฉsโ to add, search, or delete clients.
- ๐ View contracts: Go to โProductsโ for all contracts.
- ๐ต Track payments: See โRรจglements,โ make new payments, or check details.
- ๐ Reports: Go to โCaisseโ or โCreditโ to filter and export PDF reports.
- Sheet 1: Clients, columns:
CIN,Assurรฉ - Sheet 2: Contracts, columns:
Date Emission,Police,Date effet,Prime Totale,CIN,Fractionn,Matricule
- ๐ Python, ๐ FastAPI, ๐ข๏ธ SQLAlchemy, ๐ผ Pandas
- โ๏ธ React (SolidJS), ๐จ Tailwind CSS
- ๐ jsPDF, ๐ฌ SweetAlert2