Git Product home page Git Product logo

makhanifahim / transaction-management Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 366 KB

REST and RPC Service that accepts a list of transactions and stores those transactions to csv files. The transactions don't have to be ordered. A transaction consists of (init_date, conclusion_date, product_id, value). The csv folder needs to serve as a staging ground and so must adhere to a specific structure year/quarter/date.csv like example 2022/1/2022-02-21.csv

Java 100.00%
csv-files filesystem java junit-test maven openapi prometheus-metrics rest-api rpc-api rpc-server spring-boot

transaction-management's People

Contributors

makhanifahim avatar

Stargazers

 avatar

transaction-management's Issues

Long methods

Methods are unnecisarily long.
I shouldn't be scrolling to read a single method.

No Unit Tests.

The lack of test makes this code base fragile and dangerus to work in.

No README

There is no readme that describes what this service is for what the technologie is and a quickstart.

Project structure

  • Your aplication Class should be in a package.
  • Inconsistent Class names.
  • Format all classes.
  • Logic in controller Class

Irelavend Directories.

The Data dir should not be part of the repo just like you would not upload the data dir of a DB.

API not documented

The API is not documented considering that it is a REST API use the OpenAPI spec.

Unit tests

  • The order of tests is not garenteed so you should not be relying on test 1 to set up for test 2
  • use befor and after methods to setup and cleanup tests (don't leave clutter on the build system)
  • tests should follow the structure: given (a state) when (a action is taken) then (the resulting state is)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.