NLxAROSA / redisbank

A simple mobile banking application using Redis Stack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this repository

This repository uses Redis core data structures, Streams, RediSearch and TimeSeries to build a Java/Spring Boot/Spring Data Redis Reactive application that shows a searchable transaction overview with realtime updates as well as a personal finance management overview with realtime balance and biggest spenders updates. UI in Bootstrap/CSS/Vue.

Features in this demo:

  • Redis Streams for the realtime transactions
  • Redis TimeSeries for the balance over time
  • RediSearch for searching transactions
  • Sorted Sets for the 'biggest spenders'
  • Redis hashes for session storage (via Spring Session)

Architecture

Architecture

Prerequisites

  1. JDK 21 or higher (https://openjdk.java.net/install/index.html). Not needed if you're using Docker.
  2. Maven. Not needed if you're using Docker.
  3. Docker Desktop (https://www.docker.com/products/docker-desktop), or Colima with a docker/k8s/containerd runtime

Running locally

  1. Checkout the project
  2. docker-compose.sh up
  3. Navigate to http://localhost:8080
  4. Login with user lars and password larsje
  5. Stop and clean with docker-compose down -v --rmi local --remove-orphans

About

A simple mobile banking application using Redis Stack.


Languages

Language:JavaScript 89.1%Language:Java 5.9%Language:HTML 4.4%Language:CSS 0.5%Language:Dockerfile 0.1%