user_service

command
v0.0.0-...-01a1143 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 12 Imported by: 0

README

User Service

Overview

The user-service manages user registration, authentication, and profile updates. Users can register, login, and update their profile details.

Database Structure

The users are stored in the users table:

Column Type Description
id UUID Unique identifier for the user
username TEXT User's username
email TEXT User's email address
password TEXT User's password
created_at TIMESTAMP User's creation timestamp
updated_at TIMESTAMP Last profile update timestamp

Event Consumption

  • UserRegistered: Consumed when a new user registers, updating the order-service and other services.
  • UserProfileUpdated: Consumed when a user updates their profile information.

Refer to the Event Messages for message formats.

API Endpoints

For more details on the API, refer to the API Endpoints.


Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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