This repository contains the source code for the Core Bank Platform, a monorepo built with Bazel.
The repository is structured as a monorepo with the following directories:
apps/: Contains the individual applications of the platform.apps/onboarding/hello-world: A "Hello World" Spring Boot microservice.
libs/: Contains shared libraries.infra/: Contains infrastructure-as-code, including theskaffold.yamlfile.docs/: Contains documentation.
This project is set up for spec-driven development using spec-kit. The .specify/ and .github/ directories contain the configuration for this.
The project uses Bazel as the build system. The Bazel configuration is in the WORKSPACE, .bazelversion, and root BUILD files.
To build the "Hello World" microservice, run the following command from the root of the repository:
bazel build //apps/onboarding/hello-world:hello-world_deploy.jarTo run the microservice, you can use the following command:
java -jar bazel-bin/apps/onboarding/hello-world/hello-world_deploy.jarAlternatively, you can use bazel run:
bazel run //apps/onboarding/hello-world:hello-worldThe application will be available at http://localhost:8080.