The application consumes Invoices Event feed which Xero provides and creates a custom text file for each newly created invoice.
-
Download and install the
.NET 6SDK. Link here -
Clone this repository.
-
Use the following commands to start the mock API on http://localhost:8200. This is required for the Invoicr app to run.
cd mock # to run the mock dotnet Invoicr.EventFeed.dll
-
Use the following commands to build and run the app.
cd InvoicrApp # to run the app dotnet run
-
Use the following commands to run the tests
cd Tests/InvoicrApp.Tests # to run the tests dotnet test
Requires the mock to be running in Step 3