8000 GitHub - logos-devs/logos: Logos is a microservice framework built with Bazel.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

logos-devs/logos

Repository files navigation

Logos

Logos is a microservice framework built with Bazel. It assembles Java services and TypeScript clients into a Kubernetes stack. Modules are provided as Guice bindings and discovered at runtime.

Repository layout

  • app/ – example services, including the Cognito authentication module
  • dev/ – framework libraries and service stacks
  • vendor/ – third-party dependencies used by Bazel
  • .devcontainer/ – container image for local development

Getting started

  1. Use the dev container. It includes all needed prerequisites.
  2. Install Node dependencies
    bazel build //:node_modules
  3. Run the stack
    bazel run //dev/logos
    This builds the backend and client and applies the Kubernetes manifests.

How it works

  • gRPC services are defined in protobuf (see cognito.proto).
  • Dependency injection and module discovery are handled by ModuleLoader.
  • The backend server is assembled in ServerModule.
  • AWS infrastructure stacks are defined with the AWS CDK. InfrastructureModule installs modules like EcrModule and VpcModule which Guice uses to build the stack. The Synthesizer creates an injector via ModuleLoader and obtains the CloudAssembly for deployment.
  • Front-end modules under dev/logos/web use Inversify for dependency injection.

Use this repository as a starting point for your own Logos-based services.

About

Logos is a microservice framework built with Bazel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0