Implement customer management domain with authorization and API enhancements
- Introduced a new customer management domain, including entities, services, handlers, and forms for customer operations. - Added JWT-based user authorization settings in the configuration file for both user and customer management. - Updated API endpoints to reflect the new structure, including changes to health check and user management routes. - Enhanced Swagger documentation to include new customer-related endpoints and authorization details. - Refactored the Makefile to include a target for generating API documentation. - Removed obsolete documentation files to streamline the project structure.
This commit is contained in:
+11
-10
@@ -8,16 +8,17 @@ import (
|
||||
|
||||
// Config holds all configuration for the application
|
||||
type Config struct {
|
||||
Server ServerConfig `mapstructure:"server"`
|
||||
Database DatabaseConfig `mapstructure:"database"`
|
||||
Cache CacheConfig `mapstructure:"cache"`
|
||||
Queue QueueConfig `mapstructure:"queue"`
|
||||
Search SearchConfig `mapstructure:"search"`
|
||||
Auth AuthConfig `mapstructure:"auth"`
|
||||
AI AIConfig `mapstructure:"ai"`
|
||||
Scraping ScrapingConfig `mapstructure:"scraping"`
|
||||
Logging LoggingConfig `mapstructure:"logging"`
|
||||
RateLimit RateLimitConfig `mapstructure:"rate_limiting"`
|
||||
Server ServerConfig `mapstructure:"server"`
|
||||
Database DatabaseConfig `mapstructure:"database"`
|
||||
Cache CacheConfig `mapstructure:"cache"`
|
||||
Queue QueueConfig `mapstructure:"queue"`
|
||||
Search SearchConfig `mapstructure:"search"`
|
||||
UserAuthorization AuthConfig `mapstructure:"user_authorization"`
|
||||
CustomerAuthorization AuthConfig `mapstructure:"customer_authorization"`
|
||||
AI AIConfig `mapstructure:"ai"`
|
||||
Scraping ScrapingConfig `mapstructure:"scraping"`
|
||||
Logging LoggingConfig `mapstructure:"logging"`
|
||||
RateLimit RateLimitConfig `mapstructure:"rate_limiting"`
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user