Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸš€ InvoiceFlow: Smart Invoice Management System: Automate invoice generation, track details, and ensure data integrity with transactional operations.

License

Notifications You must be signed in to change notification settings

HopeforgeDev/InvoiceFlow

Repository files navigation

πŸš€ InvoiceFlow: Smart Invoice Management System

Effortlessly manage invoices with a robust SQL backend, a powerful .NET API, and a sleek AngularJS frontend. Automate invoice generation, track details, and ensure data integrity with transactional operations.

🌟 Features

  • Database Layer

    • Invoice Header, Detail, and Sequence tables
    • Stored procedures for CRUD operations with automatic total calculation
    • Transaction-safe insert/update/delete operations
  • API Layer (.NET Web API)

    • Full invoice header/detail models
    • Repository pattern with transactional support
    • RESTful endpoints for all operations
  • Client Layer (AngularJS + DevExpress)

    • Interactive invoice listing grid
    • Modal-driven create/update flows
    • Detail management with inline editing
    • Responsive UI with DevExpress components

πŸ›  Tech Stack

Frontend
AngularJS
DevExpress

Backend
.NET

Database
SQL Server

πŸš€ Installation

Prerequisites

  • SQL Server 2019+
  • .NET 7 SDK
  • Node.js 18+
  • Angular CLI
# Clone repository
git clone git@github.com:HopeforgeDev/InvoiceFlow.git
cd InvoiceFlow
# Restore NuGet packages
dotnet restore
# Install client dependencies
cd ClientApp
npm install

Start API:

dotnet run --project InvoiceFlow.API

πŸ’» Client Setup

cd ClientApp
# Configure API endpoint
echo 'export const environment = {
 production: false,
 apiUrl: "https://localhost:5001/api"
};' > src/environments/environment.ts
# Start Dev Server
ng serve

πŸ”„ Transaction Flow

sequenceDiagram
 Client->>API: Create Invoice Header
 API->>SQL: EXEC spwv_tr_insertinvoiceheader
 SQL-->>API: Return ih_seq
 API->>Client: New Invoice ID
 
 Client->>API: Add Detail Line
 API->>SQL: EXEC spwv_tr_insertinvoicedetail
 SQL->>SQL: Update ih_total
 SQL-->>API: New detail ID
Loading

πŸ“œ License

MIT License - see LICENSE for details


Happy Invoicing! πŸ’°πŸ“„

About

πŸš€ InvoiceFlow: Smart Invoice Management System: Automate invoice generation, track details, and ensure data integrity with transactional operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /