Skip to content

School project building a SOA-based API for managing bank accounts and transactions using Java, PHP, Rust, Docker, and Kafka.

Notifications You must be signed in to change notification settings

alexandengstrom/bank-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bank Service

This is a school project where I collaborated with a classmate to build an API for managing bank accounts and transactions using Java and Maven. The service interacts with a bank-api and a person-api, built in PHP and Rust. We chose PHP and Rust simply because we had never used these languages before and saw this as a good learning opportunity. The Rust service uses a PostgreSQL database, while the PHP service stores data in a JSON file. Kafka is used for logging and everything runs in Docker.

Setup

To start the whole project, run the following command in the root directory:

docker-compose up

If it is the first time running the project, it must first be built with:

docker-compose build

Kafka

To start consuming all topics, run the following command:

./kafka_consumer.py

To start consuming a specific topic, run:

.kafka_consumer.py -t [TOPIC]

About

School project building a SOA-based API for managing bank accounts and transactions using Java, PHP, Rust, Docker, and Kafka.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published