Skip to content

Mini accounting web app to save income and expenses by using PostgreSQL and .NET

Notifications You must be signed in to change notification settings

azam-amonov/Accounting.Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Accounting Project

This project allows you to easily track your income and expenses.

Features:

  • Record income and expenses
  • View your financial data

Getting Started

Clone the project:

git clone [email protected]:azam-amonov/AccountingTable.Web.git

Set up database:

  1. 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

  2. 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.
  3. 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

Frontend Installation

If you want to use a web-based interface for managing your finances, you can install the AccountingTable.Web project from GitHub:

  1. Install the frontend from this repository.
    git clone [email protected]:azam-amonov/AccountingTable.Web.git
    
  2. Inside the src/api directory, locate the `apiConfig.js file.
    ├── src
    │   ├── api
    │   │   └── apiConfig.js
    
    
  3. Replace the host in the apiConfig.js file with your own configuration.
    const BASE_URL = 'https://localhost:5177/api'
    export default BASE_URL;
    

About

Mini accounting web app to save income and expenses by using PostgreSQL and .NET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages