This project allows you to easily track your income and expenses.
Features:
- Record income and expenses
- View your financial data
git clone [email protected]:azam-amonov/AccountingTable.Web.git
-
Install the .NET CLI (if not already installed):
Follow the instructions on the official Microsoft documentation: https://learn.microsoft.com/en-us/dotnet/core/install/windows
-
Update database connection string (appsettings.json):
Open appsettings.json and replace the placeholder values in the DefaultConnection property with your actual database configuration:
"ConnectionStrings" : { "DefaultConnection": "Host=localhost; Port=5432; Database=PersonalAccounting; Username=postgres; Password=your_password" }
- Replace localhost with your database server address if it's different.
- Replace 5432 with your database port (default for PostgreSQL is 5432).
- Replace PersonalAccounting with your desired database name.
- Replace postgres with your database username.
- Replace your_password with your actual database password.
-
Run database migrations:
Navigate to the project directory and execute these commands:
cd Accounting/MicrosAccount.Api dotnet ef migrations add InitialMigrations dotnet ef database update
If you want to use a web-based interface for managing your finances, you can install the AccountingTable.Web project from GitHub:
- Install the frontend from this repository.
git clone [email protected]:azam-amonov/AccountingTable.Web.git
- Inside the
src/api
directory, locate the `apiConfig.js file.├── src │ ├── api │ │ └── apiConfig.js
- Replace the host in the
apiConfig.js
file with your own configuration.const BASE_URL = 'https://localhost:5177/api' export default BASE_URL;