server

Manages REST API for ExpenseShare with Ktor, PostgreSQL, and Exposed ORM.

46|5|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/cloner93/ExpenseShare --skill server-cloner93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server
Source: https://github.com/cloner93/ExpenseShare/tree/main/server
Command: npx skills add https://github.com/cloner93/ExpenseShare --skill server-cloner93

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ktor-server-netty, Exposed, postgresql, hikaricp, jbcrypt, koin-ktor, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the problem of efficient group expense management by providing a robust Ktor backend server that handles persistence, business logic, and REST API for the ExpenseShare application.

Core Features & Use Cases

  • Group Management: Facilitates creation, management, and tracking of groups.
  • Friends Management: Allows users to add friends, create groups, and sync friend relationships with the backend.
  • Transactions: Enables users to add expenses, select payers, and automatically calculate settlements.
  • Automatic Settlement Calculation: Provides real-time debt and credit calculations for members of a group.
  • AI-Powered Features: Future enhancements include AI-based transaction classification and smart recommendations.

Quick Start

Use the server skill to run the ExpenseShare backend server with the following command: ./gradlew :server:run

Frequently Asked Questions about server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Ktor backend for expense management?

Build a Ktor backend for expense management by utilizing this server to handle user authentication, group relationships, expense transactions, and REST API endpoints. It uses Ktor server with PostgreSQL for robust data handling.

How does automatic settlement calculation work for group expenses?

Automatic settlement calculation works by processing expense transactions and automatically computing real-time debt and credit balances for group members. The server tracks payments and divides costs across selected payers.

Can I use Jetbrains Exposed ORM with PostgreSQL in a Ktor server?

Yes, you can use Jetbrains Exposed ORM with PostgreSQL in a Ktor server. This implementation combines Exposed ORM, PostgreSQL, and HikariCP connection pooling for efficient transaction processing and data persistence.

Does this expense management server handle user authentication and friend relationships?

Yes, this expense management server handles user authentication using jBCrypt and manages friend relationships. It allows users to add friends, create groups, and sync friend relationship data with the backend.

What dependencies do I need to run a Ktor expense sharing server?

To run a Ktor expense sharing server, you need ktor-server-netty, Exposed ORM, postgresql, hikaricp, jbcrypt, and koin-ktor. These dependencies provide the web server, database ORM, pooling, security, and dependency injection.

How do I start the ExpenseShare backend server?

Start the ExpenseShare backend server by running the command ./gradlew :server:run. This launches the Ktor server, establishing database connections and deploying the REST API endpoints for expense management.