Budget sakna3#13
Open
saknarajapakshe wants to merge 30 commits into
Open
Conversation
Add the models
…al; update CORS policy in Program.cs for specific origins
…RS policy in Program.cs for additional origins
- Implemented SavingRecordsController for CRUD operations on saving records. - Created CreateSavingRecordDto and SavingRecordDto for data transfer. - Added SavingRecord model with relationships to User and Goal. - Updated ApplicationDbContext to include SavingRecords DbSet and configure relationships. - Created migrations for SavingRecords table and updated existing migrations. - Enhanced Goal model to include a collection of SavingRecords. - Modified GoalsController to validate user existence when creating goals. - Updated appsettings.json for local database connection. - Removed unnecessary folder reference in project file.
- Created migration 20250717081440_AddTypeColumn to add a 'Type' column to the Categories table. - Updated the model builder to reflect the new 'Type' property in the Category entity. - Removed unnecessary migrations related to adding and removing 'Type' from SavingRecord.
…additional fields in Transactions table - Created migration to add CreatedAt and UpdatedAt columns to Users table. - Renamed ImpactId to TransactionBudgetImpactId in TransactionBudgetImpacts table. - Added new fields (Location, MerchantName, ReceiptUrl, Tags) to Transactions table. - Updated PopulateCategories.sql to ensure existing categories are updated and new categories are inserted.
- Added BudgetService with methods for creating, updating, deleting, and retrieving budget details. - Implemented transaction recording and budget impact calculations. - Introduced methods for fetching user budgets, budget transactions, and expense breakdowns. - Added functionality for handling budget periods and daily budget limits. feat: Create DatabaseSeeder for initial data population - Implemented DatabaseSeeder to seed categories and a default user if they do not exist. - Added console logging for seeding operations and error handling. feat: Introduce TransactionService for transaction management - Created TransactionService to handle user transactions, including creation, updates, and deletions. - Implemented methods for fetching user transactions and transaction details. - Added support for recurring transactions and budget impacts. chore: Set up project structure and configuration files - Created project file for SpendSmart_Backend with necessary dependencies. - Added appsettings.json and appsettings.Development.json for configuration. - Included WeatherForecast class for demonstration purposes. - Established backend solution file and package-lock.json for package management.
…nagement - Created project.nuget.cache to track NuGet package dependencies and their expected files. - Added package-lock.json to ensure consistent package installations across environments.
…nce expense tracking
…action impact calculations
…cts and progress percentage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.