command
module
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Aug 4, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Notlify User Service
This is part of the Notlify application that manages users and user data.
- Responsible for user registration, authentication, and authorization.
- Stores user profile information, handles user preferences, and manages user roles.
- Provides endpoints for user-related operations like sign up, login, profile updates, etc
Features
- User authentication and authorization
- Implement role-based access control to manage user permissions and privileges.
- Define user roles (e.g., regular user, author, moderator) to control access to specific features.
- User profile management
- Enable users to update their profile information, such as name, bio, profile picture, and contact details.
- Allow users to customize their settings and preferences.
- Password reset and recovery
- Implement a secure process for users to reset their passwords if forgotten.
- Send password reset links via email with one-time tokens for verification.
System design components
-
Cloud services (AWS)
- Databases
- PostgreSQL
- S3
- Deployment
- Docker (ECR)
- ECS
- EKS
- Hosting
- Route53
-
Technology stack
- Go programming laguages
- Go Gin framework
- Docker
- Kubernetes
- ReactJS + Typescript
- AWS
Application structure
This service uses Hexagonal architecture
.
├── config
│ └── config.go
├── go.mod
├── go.sum
├── internal
│ ├── adapters
│ │ ├── app
│ │ │ ├── controllers.go
│ │ │ ├── controllers_test.go
│ │ │ └── handler.go
│ │ └── repository
│ │ ├── mongodb
│ │ │ └── mongodb.go
│ │ ├── postgres
│ │ │ └── postgres.go
│ │ └── s3
│ │ └── s3.go
│ └── core
│ ├── domain
│ │ └── domain.go
│ ├── ports
│ │ └── ports.go
│ └── services
│ └── services.go
├── LICENSE
├── main.go
├── Makefile
└── README.md
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.