Skip to content

SyamSolution/user-service

Repository files navigation

User Service

Name

user-service

Description

User Service is service that used to manage user login, registration, and profile

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=4001

# 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_COGNITO_CLIENT_ID=
AWS_COGNITO_USER_POOL_ID=
  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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published