Files
Yaojia Wang f319c6e772 Code fixed
2026-02-13 10:31:54 +01:00
..
2026-02-13 10:31:54 +01:00
2026-02-13 10:31:54 +01:00
2026-02-04 20:14:34 +01:00
2026-02-13 10:31:54 +01:00
2026-02-13 10:31:54 +01:00
2026-02-04 20:14:34 +01:00
2026-02-13 10:31:54 +01:00
2026-02-04 20:14:34 +01:00
2026-02-13 10:31:54 +01:00

Invoice Master - Backend

Project Structure

This backend follows Clean Architecture with the following projects:

  • InvoiceMaster.Core - Domain entities, interfaces, value objects
  • InvoiceMaster.Application - Business logic, CQRS commands/queries
  • InvoiceMaster.Infrastructure - EF Core, repositories, external services
  • InvoiceMaster.Integrations - Accounting system providers
  • InvoiceMaster.API - Web API entry point

Getting Started

Prerequisites

  • .NET 8 SDK
  • PostgreSQL 15+
  • Redis 7+ (optional)

Running Locally

# Restore dependencies
dotnet restore

# Run database migrations
cd src/InvoiceMaster.Infrastructure
dotnet ef database update --startup-project ../InvoiceMaster.API

# Run the API
cd ../InvoiceMaster.API
dotnet run

Running Tests

dotnet test

Environment Variables

See src/InvoiceMaster.API/appsettings.Development.json for configuration.