Skip to content

developeramarish/cash-flow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CashFlow

Application for managing cash flows written in ASP.NET Core 2.2 and Angular 7 (EF Core, Apollo, GraphQL, CQRS).

The application currently has the following features:

  • Add bank/cash accounts
  • Add suppliers
  • Add codes (can be linked while booking transactions)
  • Add a financial year
  • Book transactions on the selected financial year

Future features:

  • All kind of different reports (probably using jsReport)

Development

Prerequisites

Install these extensions in Visual Studio

  • Make sure you have Text Template Transformation checked in Visual Studio Installer, tab Individual components > Code tools

Install and start jsreport

For windows: see https://jsreport.net/learn/windows Other: see https://jsreport.net/on-prem

Start debugging

  • Set CashFlow.Host as StartUp project.
  • Hit F5 (Start Debugging)

Adding new projects to the solution

xUnit Test Project

  • Right-click on the correct solution folder
  • Add > New project...
  • Pick xUnit Test Project (.NET Core) from Test
  • Enter a name in the form CashFlow.Something.Tests
  • Append \tests to the location
  • Click OK

Class Library

  • Right-click on the correct solution folder
  • Add > New project...
  • Pick Class Library (.NET Standard) from .NET Standard
  • Enter a name in the form CashFlow.Something
  • Append \src to the location
  • Click OK

Test GraphQL endpoint

The URL above is in case the back-end was started using IIS Express, when running the back-end in Kestrel use https://localhost:5001/api/graph.

Text Template Transformation (T4)

Some projects contain .tt files (T4 templates) for generating code on-the-fly.

They're used to generate GraphQL mutation and related command/result models and code from definition files (.def) located in CashFlow.Command.Abstractions.

Whenever you need to rebuild the templates, hit Build > Transform All T4 Templates

About

Application for managing cash flows written in ASP.NET Core 2.2 and Angular 7 (EF Core, Apollo, GraphQL, CQRS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 59.1%
  • TypeScript 30.8%
  • HTML 8.2%
  • Other 1.9%