FinanceApp-BE is a backend service for managing and tracking financial investments, created for learning and development purposes.
- Introduction
- Installation
- Usage
- Features
- Dependencies
- Configuration
- Modules
- Project Structure
- Troubleshooting
- Contributors
- License
- Clone the repository:
git clone https://github.com/Juanormelli/FinanceApp-BE.git
- Navigate to the project directory:
cd FinanceApp-BE
- Install dependencies:
dotnet restore ``## Usage
- Update
appsettings.json
. - Run the application:
dotnet run
- Manage financial investments
- CRUD operations for investment data
- Generate performance reports
- User authentication and authorization
- .NET Core SDK
- Entity Framework Core
- SQL Server
Update the appsettings.json
file with your configuration settings:
{
"ConnectionStrings": {
"DefaultConnection": "YourConnectionStringHere"
},
"Logging": {
"LogLevel": {
"Default": "Information"
}
}
}
- Controller: Manages user endpoints (register, login, profile).
- Model: Defines user properties (Id, Username, PasswordHash, Email, CreatedAt).
- Repository: Handles data access (Register, Authenticate, GetById).
- UseCase: Contains business logic (ExecuteRegister, ExecuteAuthenticate, ExecuteGetProfile).
- Controllers: Contains API controllers for handling HTTP requests. Example:
UserController
. - Models: Defines the data structures used in the application. Example:
User
. - Repositories: Contains classes for data access logic. Example:
UserRepository
. - UseCase: Contains business logic for different operations. Example:
UserUseCase
. - Migrations: Stores database migration files.
- Properties: Contains configuration files such as
launchSettings.json
.
- Ensure the .NET Core SDK is installed.
- Verify your database connection string in
appsettings.json
. - Check the application logs for error details.
This project is licensed under the MIT License. See the LICENSE file for details.