This is the .Net Challenge project.
- ASP.Net core 2.2.
- Node.js ver 8.12.0 above
BE and FE needs to run in separated sessions, e.g. multiple bash windows or in background.
Cross platform. Though only tested on Windows.
git clone https://github.com/BenjaminZ/DotNetChallenge.git
In the solution root folder DotNetChallenge/
:
dotnet restore
cd ./DotNetChallenge.Web
dotnet run
Url:
http://localhost:5000/api/conversion
https://localhost:5001/api/conversion
In the solution root folder:
cd ./DotNetChallenge.Web
npm ci
npm run start
Url: http://localhost:8080
DotNetChallenge.Application
project contains business logic e.g. number to string converterDotNetChallenge.Web
project contains Web APIs and UIDotNetChallenge.Tests
project is the unit testing project
BE:
- Swagger UI url:
https://localhost:5001/swagger
. Library Swashbuckle.AspNetCore. - Fluent validation. Used in
DotNetChallenge.Web.Validators
- xUnit and Fluent Assertions for unit testing.
FE: