Skip to content

archetect/archetype-rust-service-tonic-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archetype: Rust Modular gRPC Microservice

A Rust gRPC-based Microservice archetype, with the following qualities:

  • Strong adherence to Twelve Factor principles
    • Layered, hierarchical configuration using config
    • Run and managed by an ergonomic CLI interface, powered by clap
  • Completely asynchronous, powered by Tokio
  • Modular, with individually usable and tested layers:
    • Server: gRPC based remoting layer using Tonic
    • Core: business layer, adapting the gRPC API implementation over the persistence layer
    • Persistence: persistence tier abstraction and database migrations, provided by SeaORM
  • testcontainers-async are leveraged for testing and rapid prototyping and development
  • Additional build and development tooling though:

To generate a project from this archetype using Archetect:

archetect render https://github.com/archetect/archetype-rust-service-tonic-workspace.git

Releases

No releases published

Packages

No packages published

Languages