Skip to content

AndiAlifs/ISI-BackendAssesment-Q1-2024-Andi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASSESMEN ISI 2024

Overview

Architecture

Routes

Routes

The apps demonstrate a simple architecture that utilize Kafka as the message broker, FastAPI as the accout-service and Go as the journal-service. The account-service is responsible for handling the account and the journal-service is responsible for handling the journal. The account-service will produce a message to the Kafka when a new transaction is created. The journal-service will consume the message and create a new journal then store it in the database. All the services are running in a docker container.

Installation

Requirements

  • Docker
  • Docker Compose
  • Python 3.11
  • Go 1.17

How to run

  1. Clone this repository
  2. Build the docker image in accout-service
cd account-service
docker build -t account-service .
cd ..
  1. Build the docker image in journal-service
cd journal-service
docker build -t journal-service .
cd ..
  1. Run the docker-compose
docker-compose up
  1. Hit the API via Postman

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published