/go-micro

Simple microservice built with Golang

Primary LanguageGo

go-micro

Building a simple microservice with golang

Architecture

  • front-end
    • Provided test for connection to broker service
  • broker-service
    • Functioned as main entrance of the back-end system
    • Forward auth request to auth-service
  • authentication-service
    • Connected to Postgres database to authenticate user login
  • logger-service
    • Connected to MongoDB to record log info
  • mail-service
    • Use MailHog for email testing
  • listener-service
    • Utilized RabbitMQ to process the request

Tools

  • Back-end Architecture
    • go-chi simplifies routes building for HTTP services
    • RabbitMQ buffers and processes the request
    • gRPC connects service cross microservice cluster
  • Mail Service
    • MailHog tests mail service
    • go-premailer builds inline styling for HTML mail SMTP port usually on 1025 and HTTP port on 8025.