Private project

vereinsappell – an app for clubs

Club app that my own club uses every day and that I provide to other clubs – from the Flutter app to the AWS backend in Terraform.

Fact sheet

Role
Everything: app, backend, infrastructure, operations
Period
since 07/2025
Status
in use
Technology
  • Flutter
  • Dart
  • AWS API Gateway
  • Lambda (Python)
  • DynamoDB
  • S3
  • EventBridge
  • Secrets Manager
  • Firebase Cloud Messaging
  • Terraform

Starting point

In my club, events, fines, photos and arrangements were spread across chat groups, notes and spreadsheets. Off-the-shelf club apps didn’t fit how we work – for example, that only the club’s designated officer may issue fines. So I built an app that does exactly that, in a way that other clubs can use it with their own name and crest.

Solution

Architecture: Flutter app, API Gateway with a custom authorizer, Lambda, DynamoDB, S3, EventBridge and push via Firebase
  • App: Flutter, one codebase for web, Android and iOS. Members are created by the club and link their account by scanning a QR code.
  • Features: events, fines, photo gallery, polls, documents, drinks and cost-sharing, a “marching order” for outings, push reminders and the game “Rock, Paper, Scissors”.
  • Backend: an HTTP API with 34 routes in API Gateway, the protected routes behind a custom Lambda authorizer that checks the club’s app ID; Python Lambdas, DynamoDB for data, S3 for photos and backups, Secrets Manager for credentials.
  • Multiple clubs: each club is a separate tenant with its own name and crest; the business data is partitioned by club. Next on the list is stronger authentication: signed tokens per member and role checks in the backend.
  • Scheduled jobs: EventBridge triggers reminders every hour, backs up data to S3 regularly and keeps the functions warm.
  • Infrastructure as code: the whole backend is defined in Terraform and can be rolled out reproducibly.

Details

Clubs in the data model

The business tables use the club as their partition key; the routes are defined in Terraform and bound to the authorizer:

resource "aws_dynamodb_table" "fines_table" {
  name         = "${local.name_prefix}-fines"
  billing_mode = "PAY_PER_REQUEST"
  hash_key     = "applicationId"   # the club
  range_key    = "fineId"
  # ...
}

resource "aws_apigatewayv2_route" "fines_post" {
  api_id             = aws_apigatewayv2_api.http_api.id
  route_key          = "POST /fines"
  target             = "integrations/${aws_apigatewayv2_integration.lambda_integration.id}"
  authorization_type = "CUSTOM"
  authorizer_id      = aws_apigatewayv2_authorizer.lambda_authorizer.id
}

Reminders without a server

Instead of a server that is always running, EventBridge starts a Lambda function every hour that sends due reminders by push:

resource "aws_cloudwatch_event_rule" "reminders_hourly" {
  name                = "${local.name_prefix}-reminders-hourly"
  schedule_expression = "rate(1 hour)"
}

resource "aws_cloudwatch_event_target" "reminders_target" {
  rule = aws_cloudwatch_event_rule.reminders_hourly.name
  arn  = aws_lambda_function.lambda_reminders.arn
}

Game logic separate from the UI

The “Rock, Paper, Scissors” logic is plain Dart without any Flutter or Firebase dependencies, which makes it easy to test (identifiers are German: Schere = scissors, Stein = rock, Papier = paper):

enum Zug { schere, stein, papier }

/// +1 if a wins, -1 if b wins, 0 for a draw.
int ergebnis(Zug a, Zug b) {
  if (a == b) return 0;
  if ((a == Zug.stein && b == Zug.schere) ||
      (a == Zug.schere && b == Zug.papier) ||
      (a == Zug.papier && b == Zug.stein)) {
    return 1;
  }
  return -1;
}

Screenshots

The screenshots come from a test club with sample data.

App home screen with all areas
Home screen: every area at a glance
Club settings with logo and switchable areas
Each club switches its areas on and off
Cost-sharing for a club party with payment status
Cost-sharing: who has already paid
Drinks list with tally marks per member
Drinks: tally marks instead of paper
Member management with roles; QR code obscured
Members with roles such as admin and fines officer

Outcome

  • My club uses the app every day for events, fines, photos and polls.
  • Other clubs can use it with their own name and crest.
  • More than 540 commits since July 2025 – from the first idea to running it in production on my own.
  • Planned: dedicated apps in the Android and iOS app stores and an offering for more clubs.

← Back to work