The Net Present Value (NPV) Profile Calculator calculates NPV for a given series of Cash Flows and range of Discount Rates. Developed using ASP.Net Core, Web API, Entity Framework, SQL Server and Angular.
An online demo is available here
The API documentation can be access via the Swagger UI here
Clone repository at https://github.com/danielfabia/VisualRiskNPVExam
The code first migration by default will create database at localhost and with database of "VRNPVDb". Open the DataContextFactory.cs of the Data project. Edit connection string if needed. Follow below to install database.
- Open a command prompt at folder "Data".
- Run "dotnet ef database update".
The Angular app is integrated into the WebApp project.
Run "npm install" to download packages.
Run "ng build --watch" to re-build.