Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 2.42 KB

README.md

File metadata and controls

84 lines (65 loc) · 2.42 KB

tm-notification

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%)

This Project is used to handle ticket master customer services including auth, registration and profile.

Prerequisites

What things you need to install the software and how to install them

Golang v1.22.x
Go Mod
....

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

  • Create ENV file (.env) with this configuration:
APP_NAME=tm-notification
APP_PORT=9800
APP_LOCATION=Asia/Jakarta
APP_DEBUG=false
CORS_ALLOWED_ORIGINS=
CORS_ALLOWED_METHOD=
OTEL_COLLECTOR_ENDPOINT=localhost:4444
  • Then run this command (Development Issues)
Give the example
...
$ make run.dev
  • Then run this command (Production Issues)
Give the example
...
$ make install
$ make test
$ make build
$ ./app

Running the tests

Explain how to run the automated tests for this system

Give the example
...
$ make test

Running the tests (With coverage appear on)

Explain how to run the automated tests for this system

Give the example
...
$ make cover

Deployment

Add additional notes about how to deploy this on a live system

Built With

  • Gorilla/Mux The rest framework used
  • [Mockery] Mock Up Generator
  • [GoMod] - Dependency Management
  • [Docker] - Container Management

Authors

  • Patrick Maurits Sangian - Github