Architecture of apache/fineract
apache/fineract is 6,930 source files holding 66,398 symbols across 39 modules, written mainly in Java, Shell, Python. The largest module is fineract-provider, with 2,741 files, and 2,253 files are entry points into the dependency graph.
How fineract fits together
Requests enter through the fineract-provider module, which builds the runnable JAR and serves the web application on port 8443. Its settings are defined in fineract-provider/src/main/resources/application.properties, and Java properties or environment variables can override them. The banking logic is split across feature modules such as fineract-core, fineract-loan and fineract-savings, which hold the code for those areas. For example, AdvancedPaymentScheduleTransactionProcessor.java in fineract-progressive-loan is a transaction processor for loan accounts. The integration-tests module holds integration tests, and fineract-e2e-tests-core holds end-to-end test step definitions. The custom/acme directory contains extension modules, such as the event starter whose AcmeEventAutoConfiguration class is registered through a Spring Boot autoconfiguration imports file.
Largest modules
- fineract-provider: 2,741 files and 219,609 lines of code
- fineract-core: 824 files and 47,906 lines of code
- fineract-loan: 690 files and 44,480 lines of code
- integration-tests: 530 files and 133,496 lines of code
- fineract-working-capital-loan: 375 files and 27,385 lines of code
- fineract-e2e-tests-core: 267 files and 32,107 lines of code
- fineract-doc: 216 files and 13,964 lines of code
- fineract-savings: 190 files and 18,016 lines of code
Languages
By file count: Java 6,582 files, Shell 9 files, Python 1 file.
Documentation
Repowise documents fineract in 9,862 pages generated from the source.
More on fineract: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos