Building a simple microservice with golang
- 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
- Back-end Architecture
- Mail Service
- MailHog tests mail service
- go-premailer builds inline styling for HTML mail SMTP port usually on 1025 and HTTP port on 8025.