Skip to content

Ivy-Interactive/Ivy-Acme-Insurance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acme Insurance API

A RESTful API for managing vehicle insurance policies, claims, and customer data.

Overview

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.

Database Models

Customer

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

Agent

Insurance agents who handle and process claims.

  • Personal details: name, email, phone, license number, hire date
  • Links to claims they manage

VehicleModel

Catalog of vehicle makes and models.

  • Make, model, year, body type
  • Links to actual vehicles

Vehicle

Individual vehicles owned by customers.

  • VIN, license plate, color, mileage, purchase date
  • Links to customer, vehicle model, and claims

Invoice

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

Claim

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

Payment records for invoices.

  • Amount, payment date, payment method
  • Transaction reference for tracking
  • Links to invoice

Technology Stack

  • ASP.NET Core 9.0
  • Entity Framework Core 9.0
  • SQLite (development)
  • xUnit (testing)

Getting Started

# Restore dependencies
dotnet restore

# Run the API
dotnet run --project AcmeInsurance.Api

# Run tests
dotnet test

API Endpoints

The 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages