Skip to content

007harshmahajan/txn-manager

Repository files navigation

Transaction Manager

A backend service for managing transactions and user accounts in a financial system.

Quick Start

To quickly start the Transaction Manager, simply run:

# Clone the repository
git clone https://github.com/yourusername/txn-manager.git
cd txn-manager

# Run the setup script (requires Docker and Docker Compose)
./setup.sh

That's it! The application will be available at http://localhost:8080.

To stop the application:

docker-compose down

Features

  • User Management: Registration, authentication, and profile management
  • Transaction Management: Create, view, and list transactions
  • Account Management: Balance tracking, multiple accounts per user
  • JWT Authentication: Secure API access
  • PostgreSQL Database: Reliable data storage

Tech Stack

  • Rust: Primary programming language
  • Axum: Web framework
  • SQLx: Database interactions
  • PostgreSQL: Relational database
  • Docker: Containerization

Database Schema

The system uses a PostgreSQL database with three main tables:

  • Users: Stores user information and authentication details
  • Accounts: Tracks financial accounts belonging to users
  • Transactions: Records all financial transactions between accounts

For detailed schema information, see Database Schema.

Tools

Documentation

Detailed documentation is available in the docs directory:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors