Categorygithub.com/SyamSolution/notification-service
repository
0.0.0-20240608012820-14d602af6409
Repository: https://github.com/syamsolution/notification-service.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Notification Service Service

Name

notofication-service

Description

Notification Service is service that used to send email notification to users

Installation

  1. Ensure, already install golang 1.21 or up
  2. Create file .env
    cp env_example .env
  1. Fill out the env configuration
# APP
APP_PORT=

# DATABASE
DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_HOST=
DATABASE_PORT=
DATABASE_SCHEMA=
DATABASE_CONN_MAX_LIFETIME=
DATABASE_MAX_OPEN_CONN=
DATABASE_MAX_IDLE_CONN=


# AWS
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

# SQS
SQS_TRANSACTION_URL=
SQS_MAIL_URL=
SQS_TRANSACTION_DLQ_URL=
SQS_MAIL_DLQ_URL=
  1. Install dependencies:
make install
  1. Run in development:
make run

Test

  1. Run unit test
make unit-test
  1. Show local coverage (in html)
make coverage

High Level Design Architecture

picture

Low Level Design Architecture

picture

ERD

picture

Authors

Development Tools