This project makes use of a backend API created with ASP.NET Core, and a website based in Angular 6.
Things to change before use
- Change database connection details in 'Components/DataContext/InvoiceContext.cs'
- Change port in 'Program.cs', 'proxy.config.json', in '/src/environments/environment.ts'
and '/src/environments/environment.prod.ts'
How to use
- Run the command 'npm install' in a command prompt
- Make sure that all NuGet packages are installed with 'dotnet restore'.
- Run the SQL script in 'docs/sql/invoice_app.sql'
- Change the database connection details as described earlier.
- In two seperate command prompts, run the following commands, in this order:
- ng build
- dotnet run
Extra
- For the CSV import functionality, inside 'docs' there are two .CSV files for both debtors and users.
- For an entity relationship diagram, there is one created with Astah located in 'docs/uml/Invoice ERD.asta'