Rebrand from Casera/MyCrib to honeyDue
Total rebrand across all Go API source files: - Go module path: casera-api -> honeydue-api - All imports updated (130+ files) - Docker: containers, images, networks renamed - Email templates: support email, noreply, icon URL - Domains: casera.app/mycrib.treytartt.com -> honeyDue.treytartt.com - Bundle IDs: com.tt.casera -> com.tt.honeyDue - IAP product IDs updated - Landing page, admin panel, config defaults - Seeds, CI workflows, Makefile, docs - Database table names preserved (no migration needed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ type ServerConfig struct {
|
||||
CorsAllowedOrigins []string // Comma-separated origins for CORS (production only; debug uses wildcard)
|
||||
Timezone string
|
||||
StaticDir string // Directory for static landing page files
|
||||
BaseURL string // Public base URL for email tracking links (e.g., https://casera.app)
|
||||
BaseURL string // Public base URL for email tracking links (e.g., https://honeyDue.treytartt.com)
|
||||
}
|
||||
|
||||
type DatabaseConfig struct {
|
||||
@@ -80,7 +80,7 @@ type PushConfig struct {
|
||||
}
|
||||
|
||||
type AppleAuthConfig struct {
|
||||
ClientID string // Bundle ID (e.g., com.tt.casera.CaseraDev)
|
||||
ClientID string // Bundle ID (e.g., com.tt.honeyDue.honeyDueDev)
|
||||
TeamID string // Apple Developer Team ID
|
||||
}
|
||||
|
||||
@@ -95,14 +95,14 @@ type AppleIAPConfig struct {
|
||||
KeyPath string // Path to .p8 private key file
|
||||
KeyID string // Key ID from App Store Connect
|
||||
IssuerID string // Issuer ID from App Store Connect
|
||||
BundleID string // App bundle ID (e.g., com.tt.casera)
|
||||
BundleID string // App bundle ID (e.g., com.tt.honeyDue)
|
||||
Sandbox bool // Use sandbox environment for testing
|
||||
}
|
||||
|
||||
// GoogleIAPConfig holds Google Play Developer API configuration
|
||||
type GoogleIAPConfig struct {
|
||||
ServiceAccountPath string // Path to service account JSON file
|
||||
PackageName string // Android package name (e.g., com.tt.casera)
|
||||
PackageName string // Android package name (e.g., com.tt.honeyDue)
|
||||
}
|
||||
|
||||
// StripeConfig holds Stripe payment configuration
|
||||
@@ -293,13 +293,13 @@ func setDefaults() {
|
||||
viper.SetDefault("ALLOWED_HOSTS", "localhost,127.0.0.1")
|
||||
viper.SetDefault("TIMEZONE", "UTC")
|
||||
viper.SetDefault("STATIC_DIR", "/app/static")
|
||||
viper.SetDefault("BASE_URL", "https://casera.app")
|
||||
viper.SetDefault("BASE_URL", "https://honeyDue.treytartt.com")
|
||||
|
||||
// Database defaults
|
||||
viper.SetDefault("DB_HOST", "localhost")
|
||||
viper.SetDefault("DB_PORT", 5432)
|
||||
viper.SetDefault("POSTGRES_USER", "postgres")
|
||||
viper.SetDefault("POSTGRES_DB", "casera")
|
||||
viper.SetDefault("POSTGRES_DB", "honeydue")
|
||||
viper.SetDefault("DB_SSLMODE", "disable")
|
||||
viper.SetDefault("DB_MAX_OPEN_CONNS", 25)
|
||||
viper.SetDefault("DB_MAX_IDLE_CONNS", 10)
|
||||
@@ -315,10 +315,10 @@ func setDefaults() {
|
||||
viper.SetDefault("EMAIL_USE_TLS", true)
|
||||
viper.SetDefault("EMAIL_HOST_USER", "")
|
||||
viper.SetDefault("EMAIL_HOST_PASSWORD", "")
|
||||
viper.SetDefault("DEFAULT_FROM_EMAIL", "Casera <noreply@casera.com>")
|
||||
viper.SetDefault("DEFAULT_FROM_EMAIL", "honeyDue <noreply@honeyDue.treytartt.com>")
|
||||
|
||||
// Push notification defaults
|
||||
viper.SetDefault("APNS_TOPIC", "com.example.casera")
|
||||
viper.SetDefault("APNS_TOPIC", "com.tt.honeyDue")
|
||||
viper.SetDefault("APNS_USE_SANDBOX", true)
|
||||
viper.SetDefault("APNS_PRODUCTION", false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user