A RESTful API for managing vehicle insurance policies, claims, and customer data.
This project provides a comprehensive insurance management system built with ASP.NET Core 9.0 and Entity Framework Core. It handles customer information, vehicle registrations, insurance policies, claims processing, and payment tracking.
Stores customer information and serves as the primary entity for policy holders.
- Personal details: name, email, phone, address, date of birth
- Links to vehicles and invoices
Insurance agents who handle and process claims.
- Personal details: name, email, phone, license number, hire date
- Links to claims they manage
Catalog of vehicle makes and models.
- Make, model, year, body type
- Links to actual vehicles
Individual vehicles owned by customers.
- VIN, license plate, color, mileage, purchase date
- Links to customer, vehicle model, and claims
Insurance policy invoices issued to customers.
- Invoice number, amount, issue date, due date
- Status: Pending, Paid, Overdue
- Policy type: Comprehensive, Third Party, etc.
- Links to customer and payments
Insurance claims filed for vehicle incidents.
- Claim number, incident date, filed date, description
- Status: Filed, Under Review, Approved, Denied, Settled
- Claim amount and settled amount
- Links to vehicle and assigned agent
Payment records for invoices.
- Amount, payment date, payment method
- Transaction reference for tracking
- Links to invoice
- ASP.NET Core 9.0
- Entity Framework Core 9.0
- SQLite (development)
- xUnit (testing)
# Restore dependencies
dotnet restore
# Run the API
dotnet run --project AcmeInsurance.Api
# Run tests
dotnet testThe API provides full CRUD operations for all entities:
/api/customers/api/agents/api/vehiclemodels/api/vehicles/api/invoices/api/claims/api/payments
Visit /swagger when running the API to explore the complete endpoint documentation.