tm-user

module
v0.0.0-...-d6003e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT

README

tm-user

Coverage Quality Gate Status Maintainability Rating Security Rating Bugs Vulnerabilities Technical Debt Code Smells Reliability Rating

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.21.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-user
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

Directories

Path Synopsis
cmd
cli
web
internal
pkg
apm
jwt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL