Welcome to the RendaFixaPro solution, a .NET project structured around the principles of Clean Architecture. This solution is designed for calculating CDB financial applications and it's comprised of a .NET API backend and an Angular 12 frontend.
Before you run the projects, ensure you have the following installed:
- Node Version Manager (NVM) for Windows
- Node.js v14
- .NET 8 Framework
- Visual Studio 2022
- Download and install NVM for Windows from the official repository.
- Open a command prompt and run nvm install 14.0.0 to install Node.js v14.
- Set Node.js v14 as the default version by running nvm use 14.0.0.
The frontend is developed with Angular 12.
- Navigate to src/RendaFixaPro.Presentation.
- Run npm install to install the necessary packages.
- Start the project with ng serve.
- Access the application at http://localhost:4200.
The backend is a .NET API structured into four layers:
- RendaFixaPro.Api - The entry point for the application, handling HTTP requests.
- RendaFixaPro.Application - Contains business logic and application services.
- RendaFixaPro.Domain - Houses the domain entities and business rules.
- RendaFixaPro.Infrastructure - Implements persistence and infrastructure concerns.
- Open RendaFixaPro.sln in Visual Studio 2022.
- Set RendaFixaPro.Api as the startup project.
- Press F5 to build and run the solution.
Ensure the API and the frontend are running simultaneously to allow for full integration.
The unit tests for the application reside in the tests folder.
- RendaFixaPro.Tests - Contains unit tests for the application.
- Open the solution in Visual Studio 2022.
- Navigate to the Test Explorer.
- Run all tests or individual tests as needed.