Skip to content

holmerjohn/Backend

Repository files navigation

Backend

Scalability Backend Project

How to run

C:\ >Backend.Program.exe

Supported Command Line Arguments

  • -dir (optional) The fully qualified path to a folder containing facts.json and actions.json. If this is not passed, it is assumed that the files are in the same directory as the executable.
  • -by (optional) This controls the final output of the program to be displayed grouped by loans or by borrowers. If no value is passed, it outputs by loan. To group by borrower, pass the word "borrower". It is not case sensitive.
C:\ >Backend.Program.exe -dir c:\TheFolderWithTheFiles -by borrower

appsettings.json

A few settings are controlled in the appsettings.json file

  • ConnectionStrings:BackendDb The file to write the SQLite data to. The file is deleted at the beginning of each run. You can examine the data with a SQLite browser when the program completes. An in-memory database is not supported.
  • EnableSensitiveSqlLogging A boolean value to set if you would like to log the SQLite parameter values used for the call. To see this output, the LogLevel parameter must be at least Information
  • Logging The standard format of appsettings.json logging configuration. For additional information, go to: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-6.0

Limitations

  • The program starts by deleting any existing database file. If this is locked by a SQLite browser, the program will halt with an Exception.

About

Scalability Backend Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages