Skip to content

duc30012001/money-keeper-server

Repository files navigation

Money Keeper

Introduction

Money Keeper Server built with NestJS and TypeORM. It helps you track your personal or business finances by managing income and expense transactions. The application provides a modular structure with clean code, making it easy to maintain and extend.

Features

  • Transaction Management:
    Add, update, and delete transactions.
  • Categorization:
    Organize transactions by categories (income, expense, etc.).
  • Account Management:
    Support multiple accounts and account types with balance tracking.
  • Reporting:
    View account balances and generate basic financial reports.
  • Configuration:
    Environment configuration is managed with .env files and validated using Joi.

Technologies Used

  • NestJS:
    A framework for building efficient, scalable Node.js server-side applications.
  • TypeORM:
    An ORM (Object-Relational Mapper) that simplifies database operations in NestJS.
  • PostgreSQL:
    A powerful open-source relational database used to store application data.
  • Joi:
    A library used to validate environment variables and ensure correct configuration.
  • @nestjs/config:
    A module to load and manage environment variables in a NestJS application.
  • class-validator:
    Provides declarative validation in your DTOs and entities.

Installation

  1. Clone the repository:

    git clone https://github.com/duc30012001/money-keeper-server.git
    cd money-keeper-server
  2. Install dependencies:

    yarn install
  3. Setup Environment Variables:

    Copy the .env.example file to .env and adjust values as needed.

    cp .env.example .env
  4. Build and Run Docker:

    docker compose -f docker-compose.yml up --build -d
    

Usage

Once the server is up and running, you can access it through your configured endpoint. You can interact with the API to add, update, and delete transactions, view account balances, and generate reports.

About

Money Keeper server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages