ASP.NET Core / React SPA Demo
The application calculates area of circle by radius, area of triangle by three sides. The library uses decimal, it gives a lot of advantages: decimal has overflow detection, the numbers, entered by user is representable in decimal, all calculations gives accurate results too.
- Figures.Lib -- library for calculationg areas of figures
- Figures.Test -- tests for library
- Figures.Web -- WebApi + React application
- Figures.Web/ClientApp -- client scripts
- Figures.Console -- Console application for library
- figures.json -- input file for console application
Install the following:
To run tests
dotnet test
To run web
cd Figures.Web
dotnet run
Then open https://localhost:5001/
To run Console App
cd Figures.Console
dotnet run